#369: updated UI of commits#show

This commit is contained in:
Vokhmin Alexey V 2015-02-05 02:10:52 +03:00
parent 41ae2078bd
commit 7d97d4daa9
1 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@
.col-xs-12.col-md-10.col-md-offset-1
- GitPresenters::CommitAsMessagePresenter.present(@commit, project: @project) do |presenter|
== render partial: 'shared/feed_message', locals: {presenter: presenter, item_no: 1}
.panel.panel-default
.panel-body
== render 'shared/feed_commit', presenter: presenter, item_no: 1
.both
#repo-wrapper
@ -12,4 +14,4 @@
== render "projects/comments/list", list: comments, project: @project, commentable: @commit
== render "projects/comments/add", project: @project, commentable: @commit if current_user
=hidden_field_tag :preview_url, project_md_preview_path(@project)
= hidden_field_tag :preview_url, project_md_preview_path(@project)