From 7d97d4daa959aafca49533f4c0dce42e5a43c4a4 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 5 Feb 2015 02:10:52 +0300 Subject: [PATCH] #369: updated UI of commits#show --- app/views/projects/git/commits/show.html.slim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/projects/git/commits/show.html.slim b/app/views/projects/git/commits/show.html.slim index 877af3c29..44e851034 100644 --- a/app/views/projects/git/commits/show.html.slim +++ b/app/views/projects/git/commits/show.html.slim @@ -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)