Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-06-29 23:26:02 +0300
committerPatricio Cano <suprnova32@gmail.com>2016-07-06 00:54:22 +0300
commit2e96fcff12a8944b1f9bd5179381094ed4498bd5 (patch)
tree94fee6cdae670446b29fbd3426f49f1a87f44eeb /app/views
parent29c50c53159333bdd124d4d3584ae826f49c28ad (diff)
Clone button should not be clickable when there is a disabled protocol
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/_clone_panel.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
index 565bd869749..3b82d8e686f 100644
--- a/app/views/shared/_clone_panel.html.haml
+++ b/app/views/shared/_clone_panel.html.haml
@@ -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