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
2e96fcff
Commit
2e96fcff
authored
Jun 29, 2016
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clone button should not be clickable when there is a disabled protocol
parent
29c50c53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
CHANGELOG
CHANGELOG
+0
-1
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+11
-0
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+2
-2
No files found.
CHANGELOG
View file @
2e96fcff
...
...
@@ -24,7 +24,6 @@ v 8.10.0 (unreleased)
- Allow importing from Github using Personal Access Tokens. (Eric K Idema)
- API: Todos !3188 (Robert Schilling)
- Add "Enabled Git access protocols" to Application Settings
- Implement Subresource Integrity for CSS and JavaScript assets. This prevents malicious assets from loading in the case of a CDN compromise.
- Fix user creation with stronger minimum password requirements !4054 (nathan-pmt)
- PipelinesFinder uses git cache data
- Check for conflicts with existing Project's wiki path when creating a new project.
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
2e96fcff
...
...
@@ -288,3 +288,14 @@
text-decoration
:
none
;
}
}
.btn-static
{
background-color
:
$background-color
!
important
;
border
:
1px
solid
lightgrey
;
cursor
:
default
;
&
:active
{
-moz-box-shadow
:
inset
0
0
0
white
;
-webkit-box-shadow
:
inset
0
0
0
white
;
box-shadow
:
inset
0
0
0
white
;
}
}
app/views/shared/_clone_panel.html.haml
View file @
2e96fcff
...
...
@@ -3,9 +3,9 @@
.git-clone-holder.input-group
.input-group-btn
-
if
allowed_protocols_present?
.clone-dropdown-btn.btn
.clone-dropdown-btn.btn
.btn-static
%span
=
enabled_project_
tooltip
(
project
,
enabled_protocol
)
=
enabled_project_
button
(
project
,
enabled_protocol
)
-
else
%a
#clone-dropdown
.clone-dropdown-btn.btn
{
href:
'#'
,
data:
{
toggle:
'dropdown'
}}
%span
...
...
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