diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-11-25 03:32:06 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-11-25 03:32:06 +0300 |
commit | 1d80cd315e403e02f85a99c35eb9e83f4d829f8d (patch) | |
tree | 83f3e2f5dd705e40d0dbdb3f5f5d9fba16baeac6 /app/views/shared/_clone_panel.html.haml | |
parent | 7dab8ed739359bc579d8bc4d3de61816993ca57d (diff) |
Add clipboard button to project clone panel
Closes #3585
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index a82971157d3..408a46aaafc 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -6,6 +6,8 @@ .input-group-btn = 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 + = clipboard_button(clipboard_target: '#project_clone') - if project.kind_of?(Project) .input-group-addon.has_tooltip{title: "#{visibility_level_label(project.visibility_level)} project", data: { container: "body" } } .visibility-level-label |