diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-06-29 23:26:02 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-07-06 00:54:22 +0300 |
commit | 2e96fcff12a8944b1f9bd5179381094ed4498bd5 (patch) | |
tree | 94fee6cdae670446b29fbd3426f49f1a87f44eeb /app/views | |
parent | 29c50c53159333bdd124d4d3584ae826f49c28ad (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.haml | 4 |
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 |