Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-11 11:41:05 +0400
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-11 11:41:05 +0400
commit13c17ed49467752989b01e124450d98d93b60035 (patch)
tree055011a0b5fd98d528fc0d6a23ec5bd3f7ef60de /app
parent9d3e384ae6553fee85b7a1ed2b99a18a9884606e (diff)
Turn if/else branch vor valid compare error message
Diffstat (limited to 'app')
-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 240bfe7484e..aa79d08509b 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -27,9 +27,9 @@
There isn't anything to compare.
%p.slead
- if params[:to] == params[:from]
- You'll need to use different branch names to get a valid comparison.
- - else
%span.label-branch #{params[:from]}
and
%span.label-branch #{params[:to]}
are the same.
+ - else
+ You'll need to use different branch names to get a valid comparison.