Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
274bde5d
Commit
274bde5d
authored
Jan 03, 2018
by
James Ramsay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect case of ruby vars
parent
6c8daa68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/projects/compare/show.html.haml
app/views/projects/compare/show.html.haml
+3
-3
No files found.
app/views/projects/compare/show.html.haml
View file @
274bde5d
...
...
@@ -16,10 +16,10 @@
=
s_
(
"CompareBranches|There isn't anything to compare."
)
%p
.slead
-
if
params
[
:to
]
==
params
[
:from
]
-
source
B
ranch
=
capture_haml
do
-
source
_b
ranch
=
capture_haml
do
%span
.ref-name
=
params
[
:from
]
-
target
B
ranch
=
capture_haml
do
-
target
_b
ranch
=
capture_haml
do
%span
.ref-name
=
params
[
:to
]
=
(
s_
(
"CompareBranches|%{source_branch} and %{target_branch} are the same."
)
%
{
source_branch:
source
Branch
,
target_branch:
targetB
ranch
}).
html_safe
=
(
s_
(
"CompareBranches|%{source_branch} and %{target_branch} are the same."
)
%
{
source_branch:
source
_branch
,
target_branch:
target_b
ranch
}).
html_safe
-
else
=
_
(
"You'll need to use different branch names to get a valid comparison."
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment