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
diff options
context:
space:
mode:
authorJames Ramsay <james@jramsay.com.au>2018-01-03 18:32:03 +0300
committerJames Ramsay <james@jramsay.com.au>2018-01-03 18:32:03 +0300
commit274bde5d8bbf17f1cbc71ff6a38d45d6fe606245 (patch)
tree60ba82680556f62fcda9038e0de37a195344d061 /app/views/projects/compare
parent6c8daa6827353564dac45f495b5953cb3b4b273b (diff)
Fix incorrect case of ruby vars
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r--app/views/projects/compare/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index 0939b2a3b07..0d59d800d1e 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -16,10 +16,10 @@
= s_("CompareBranches|There isn't anything to compare.")
%p.slead
- if params[:to] == params[:from]
- - sourceBranch = capture_haml do
+ - source_branch = capture_haml do
%span.ref-name= params[:from]
- - targetBranch = capture_haml do
+ - target_branch = capture_haml do
%span.ref-name= params[:to]
- = (s_("CompareBranches|%{source_branch} and %{target_branch} are the same.") % { source_branch: sourceBranch, target_branch: targetBranch }).html_safe
+ = (s_("CompareBranches|%{source_branch} and %{target_branch} are the same.") % { source_branch: source_branch, target_branch: target_branch }).html_safe
- else
= _("You'll need to use different branch names to get a valid comparison.")