summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/commits_controller.rb2
-rw-r--r--app/views/commits/compare.html.haml5
2 files changed, 5 insertions, 2 deletions
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index a8540569462..05f29da3ddd 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -52,6 +52,8 @@ class CommitsController < ApplicationController
@commit = result[:commit]
@diffs = result[:diffs]
@line_notes = []
+
+ @commits = CommitDecorator.decorate(@commits)
end
def patch
diff --git a/app/views/commits/compare.html.haml b/app/views/commits/compare.html.haml
index 66ed8dad595..04d8af5459d 100644
--- a/app/views/commits/compare.html.haml
+++ b/app/views/commits/compare.html.haml
@@ -24,8 +24,9 @@
- unless @commits.empty?
- %h4 Commits (#{@commits.count})
- %ul.unstyled= render @commits
+ %div.ui-box
+ %h5.small Commits (#{@commits.count})
+ %ul.unstyled= render @commits
- unless @diffs.empty?
%h4 Diff