diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-11 14:11:00 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-11 14:11:00 +0400 |
commit | 9238616d6f0d81e12e2cb422b8cac4bc10983cf3 (patch) | |
tree | 288239e3a3da6b58382f7284c53a87f251211f8f /app | |
parent | 505203e7d5360500a40cc2a6894f87ad68d44dfd (diff) | |
parent | 13c17ed49467752989b01e124450d98d93b60035 (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.haml | 4 |
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. |