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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
c0a97cf5
Commit
c0a97cf5
authored
Mar 04, 2019
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport Kerberos clone URL to CE
parent
7b4130d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/views/projects/buttons/_clone.html.haml
app/views/projects/buttons/_clone.html.haml
+3
-2
app/views/shared/_mobile_clone_panel.html.haml
app/views/shared/_mobile_clone_panel.html.haml
+1
-0
No files found.
app/views/projects/buttons/_clone.html.haml
View file @
c0a97cf5
...
...
@@ -7,7 +7,7 @@
=
sprite_icon
(
"arrow-down"
,
css_class:
"icon"
)
%ul
.p-3.dropdown-menu.dropdown-menu-right.dropdown-menu-large.dropdown-menu-selectable.clone-options-dropdown.qa-clone-options
-
if
ssh_enabled?
%li
.pb-2
%li
%label
.label-bold
=
_
(
'Clone with SSH'
)
.input-group
...
...
@@ -16,7 +16,7 @@
=
clipboard_button
(
target:
'#ssh_project_clone'
,
title:
_
(
"Copy URL to clipboard"
),
class:
"input-group-text btn-default btn-clipboard"
)
=
render_if_exists
'projects/buttons/geo'
-
if
http_enabled?
%li
%li
.pt-2
%label
.label-bold
=
_
(
'Clone with %{http_label}'
)
%
{
http_label:
gitlab_config
.
protocol
.
upcase
}
.input-group
...
...
@@ -24,5 +24,6 @@
.input-group-append
=
clipboard_button
(
target:
'#http_project_clone'
,
title:
_
(
"Copy URL to clipboard"
),
class:
"input-group-text btn-default btn-clipboard"
)
=
render_if_exists
'projects/buttons/geo'
=
render_if_exists
'projects/buttons/kerberos_clone_field'
=
render_if_exists
'shared/geo_info_modal'
,
project:
project
app/views/shared/_mobile_clone_panel.html.haml
View file @
c0a97cf5
...
...
@@ -13,3 +13,4 @@
-
if
http_enabled?
%li
=
dropdown_item_with_description
(
http_copy_label
,
project
.
http_url_to_repo
,
href:
project
.
http_url_to_repo
,
data:
{
clone_type:
'http'
})
=
render_if_exists
'shared/mobile_kerberos_clone'
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