diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-10-23 16:31:43 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-23 16:31:43 +0300 |
commit | 187625831f7b501ff6689707d1859b9c7ec4f5e0 (patch) | |
tree | 22470a0919bce92a211a3e6fda1d5c594c102f31 /app/views/projects/issues/_discussion.html.haml | |
parent | 831deeeac3b0de16f65ae67f5c0a249a95ba3079 (diff) |
Add "Copy to clipboard" buttons
Adds buttons to the commit list SHAs and the cross-project reference
data on issuables.
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r-- | app/views/projects/issues/_discussion.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml index d4a98eca473..c5fd863ae99 100644 --- a/app/views/projects/issues/_discussion.html.haml +++ b/app/views/projects/issues/_discussion.html.haml @@ -17,8 +17,10 @@ - @participants.each do |participant| = link_to_member(@project, participant, name: false, size: 24) .col-md-3 - %span.slead.has_tooltip{title: 'Cross-project reference'} - = cross_project_reference(@project, @issue) + .input-group.cross-project-reference + %span.slead.has_tooltip{title: 'Cross-project reference'} + = cross_project_reference(@project, @issue) + = clipboard_button .row %section.col-md-9 |