diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 09:41:05 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 09:41:05 +0200 |
commit | 13c17ed49467752989b01e124450d98d93b60035 (patch) | |
tree | 055011a0b5fd98d528fc0d6a23ec5bd3f7ef60de /app | |
parent | 9d3e384ae6553fee85b7a1ed2b99a18a9884606e (diff) | |
download | gitlab-ce-13c17ed49467752989b01e124450d98d93b60035.tar.gz |
Turn if/else branch vor 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. |