diff options
author | Stan Hu <stanhu@gmail.com> | 2016-03-20 08:46:56 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-03-20 08:47:27 +0300 |
commit | d5c071419a3c302a7cdfd939db944515b57bf21b (patch) | |
tree | cdc6797fd47b7419ef8a6147c0ea822cc70ab185 /app/views/shared/_clone_panel.html.haml | |
parent | 68fa4de6e39dfa036bb74eeb01fa569c716aacdf (diff) |
Use http_clone_button and ssh_clone_button to restore tooltip functionality in clone panel
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 5c7806459dd..974751d9970 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -8,11 +8,9 @@ = icon('angle-down') %ul.dropdown-menu.dropdown-menu-right.clone-options-dropdown %li - %a#ssh-selector{href: @project.ssh_url_to_repo} - SSH + = ssh_clone_button(project) %li - %a#http-selector{href: @project.http_url_to_repo} - #{gitlab_config.protocol.upcase} + = http_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 |