#369: updated UI of commits#show
This commit is contained in:
parent
41ae2078bd
commit
7d97d4daa9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue