summaryrefslogtreecommitdiff
path: root/app/views/projects/compare/show.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-07 11:44:00 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-07 11:44:00 +0200
commitaa6d29f0a703810cd57ce89f7447f8d12ff6a252 (patch)
treeaa9ebf504a4e4dc3175a308f959662fbc0e24e6a /app/views/projects/compare/show.html.haml
parent6c1d5c5c9c6b0b52741a5bd72a91042d473c390a (diff)
downloadgitlab-ce-aa6d29f0a703810cd57ce89f7447f8d12ff6a252.tar.gz
Style commits, branches and tags pages to match new UI
Diffstat (limited to 'app/views/projects/compare/show.html.haml')
-rw-r--r--app/views/projects/compare/show.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index 3670dd5c13b..8800ffdf482 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -1,16 +1,16 @@
- page_title "#{params[:from]}...#{params[:to]}"
= render "projects/commits/head"
-%h3.page-title
- Compare View
-= render "form"
+.gray-content-block
+ = render "form"
- if @commits.present?
- = render "projects/commits/commit_list"
- = render "projects/diffs/diffs", diffs: @diffs, project: @project
+ .prepend-top-20
+ = render "projects/commits/commit_list"
+ = render "projects/diffs/diffs", diffs: @diffs, project: @project
- else
- .light-well
+ .light-well.prepend-top-20
.center
%h4
There isn't anything to compare.