Merge pull request #7468 from Razer6/fix_wrong_compare_message
Turn if/else branch for valid compare error message
This commit is contained in:
commit
9238616d6f
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue