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
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-11-25 03:32:06 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-11-25 03:32:06 +0300
commit1d80cd315e403e02f85a99c35eb9e83f4d829f8d (patch)
tree83f3e2f5dd705e40d0dbdb3f5f5d9fba16baeac6 /app/views/shared/_clone_panel.html.haml
parent7dab8ed739359bc579d8bc4d3de61816993ca57d (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.haml2
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