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
d496bb1b
Commit
d496bb1b
authored
Nov 13, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Geo related specs
parent
67ef62a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
app/helpers/button_helper.rb
app/helpers/button_helper.rb
+8
-2
No files found.
app/helpers/button_helper.rb
View file @
d496bb1b
...
...
@@ -75,7 +75,10 @@ module ButtonHelper
content_tag
(
append_link
?
:a
:
:span
),
protocol_element_output
,
class:
'http-selector'
,
href:
(
project
.
http_url_to_repo
if
append_link
)
href:
(
project
.
http_url_to_repo
if
append_link
),
data:
{
primary_url:
(
geo_primary_http_url_to_repo
(
project
)
if
Gitlab
::
Geo
.
secondary?
)
}
end
def
ssh_clone_button
(
project
,
append_link:
true
)
...
...
@@ -86,7 +89,10 @@ module ButtonHelper
content_tag
(
append_link
?
:a
:
:span
),
ssh_element_output
,
class:
'ssh-selector'
,
href:
(
project
.
ssh_url_to_repo
if
append_link
)
href:
(
project
.
ssh_url_to_repo
if
append_link
),
data:
{
primary_url:
(
geo_primary_ssh_url_to_repo
(
project
)
if
Gitlab
::
Geo
.
secondary?
)
}
end
def
kerberos_clone_button
(
project
)
...
...
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