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
75c9759c
Commit
75c9759c
authored
Jul 06, 2016
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed conflicts in `projects_helper.rb` and `_clone_panel.html.haml`
parent
0d0b536a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
22 deletions
+5
-22
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+2
-7
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+3
-15
No files found.
app/helpers/projects_helper.rb
View file @
75c9759c
...
...
@@ -208,15 +208,10 @@ module ProjectsHelper
end
def
default_clone_protocol
<<<<<<<
HEAD
if
alternative_kerberos_url?
&&
current_user
"krb5"
elsif
!
current_user
||
current_user
.
require_ssh_key?
gitlab_config
.
protocol
=======
if
allowed_protocols_present?
enabled_protocol
>>>>>>>
ce
/
master
elsif
alternative_kerberos_url?
&&
current_user
"krb5"
else
if
!
current_user
||
current_user
.
require_ssh_key?
gitlab_config
.
protocol
...
...
app/views/shared/_clone_panel.html.haml
View file @
75c9759c
...
...
@@ -2,20 +2,6 @@
.git-clone-holder.input-group
.input-group-btn
<
<<<<<<
HEAD
%a
#clone-dropdown
.clone-dropdown-btn.btn
{
href:
'#'
,
'data-toggle'
=>
'dropdown'
}
%span
=
default_clone_protocol
.
upcase
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-right.clone-options-dropdown
%li
=
ssh_clone_button
(
project
)
%li
=
http_clone_button
(
project
)
-
if
alternative_kerberos_url?
%li
=
kerberos_clone_button
(
project
)
==
=====
-
if
allowed_protocols_present?
.clone-dropdown-btn.btn.btn-static
%span
...
...
@@ -30,7 +16,9 @@
=
ssh_clone_button
(
project
)
%li
=
http_clone_button
(
project
)
>
>>>>>> ce/master
-
if
alternative_kerberos_url?
%li
=
kerberos_clone_button
(
project
)
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
.input-group-btn
...
...
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