summaryrefslogtreecommitdiff
path: root/app/views/projects/compare/show.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-11 10:47:44 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-12 09:55:25 -0500
commitff82acf34319fbcd3598dba7c025715874ba903c (patch)
tree3b65465b4eb455798914f933a54e893abc2b5ce9 /app/views/projects/compare/show.html.haml
parentc266b5f57a09c13feef9c066856715f339076285 (diff)
downloadgitlab-ce-ff82acf34319fbcd3598dba7c025715874ba903c.tar.gz
Consistently use monospace font for commit SHAs and branch and tag names
Diffstat (limited to 'app/views/projects/compare/show.html.haml')
-rw-r--r--app/views/projects/compare/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index 0dfc9fe20ed..a1bca2cf83a 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -16,9 +16,9 @@
There isn't anything to compare.
%p.slead
- if params[:to] == params[:from]
- %span.label-branch= params[:from]
+ %span.ref-name= params[:from]
and
- %span.label-branch= params[:to]
+ %span.ref-name= params[:to]
are the same.
- else
You'll need to use different branch names to get a valid comparison.