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
3a5fccfa
Commit
3a5fccfa
authored
Jul 01, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix display of primary clone URL in _geo_info_modal for SSH protocol
parent
77abcc60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/helpers/button_helper.rb
app/helpers/button_helper.rb
+2
-1
app/views/shared/_geo_info_modal.html.haml
app/views/shared/_geo_info_modal.html.haml
+2
-1
No files found.
app/helpers/button_helper.rb
View file @
3a5fccfa
...
...
@@ -84,7 +84,8 @@ module ButtonHelper
html:
true
,
placement:
placement
,
container:
'body'
,
title:
_
(
'Add an SSH key to your profile to pull or push via SSH.'
)
title:
_
(
'Add an SSH key to your profile to pull or push via SSH.'
),
primary_url:
(
geo_primary_ssh_url_to_repo
(
project
)
if
Gitlab
::
Geo
.
secondary?
)
}
end
...
...
app/views/shared/_geo_info_modal.html.haml
View file @
3a5fccfa
...
...
@@ -21,7 +21,8 @@
remote:
=
clipboard_button
(
target:
'pre#geo-info-2'
)
%pre
#geo-info-2
.dark
git remote set-url --push origin
#{
geo_primary_default_url_to_repo
(
project
)
}
git remote set-url --push origin
<
clone url for primary repository
>
%p
%strong
=
'Done.'
...
...
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