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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-11 14:11:00 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-11 14:11:00 +0400
commit9238616d6f0d81e12e2cb422b8cac4bc10983cf3 (patch)
tree288239e3a3da6b58382f7284c53a87f251211f8f /app
parent505203e7d5360500a40cc2a6894f87ad68d44dfd (diff)
parent13c17ed49467752989b01e124450d98d93b60035 (diff)
Merge pull request #7468 from Razer6/fix_wrong_compare_message
Turn if/else branch for 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.