summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-05 19:43:18 -0500
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-05 19:43:18 -0500
commit306c50cecde50b0bbfc9d665a09ecd2fa1676005 (patch)
treeed83986dbb9a9800c534b0a18386cc10e74d10e1 /app/views
parentdcfdef689a250ae4db6a92a1ad4413f2a86c9113 (diff)
downloadgitlab-ce-bugfix/jschatz1/sidebar-fixes-13215.tar.gz
Make copy button in collapsed sidebar work.bugfix/jschatz1/sidebar-fixes-13215
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index ae96a45453f..eb19b936e3e 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -118,7 +118,7 @@
- project_ref = cross_project_reference(@project, issuable)
.block.project-reference
.sidebar-collapsed-icon
- = icon('clipboard')
+ = clipboard_button(clipboard_text: project_ref)
.title
.cross-project-reference
%span