diff options
author | Glenn Sayers <glennsayers@protonmail.com> | 2017-02-09 16:10:10 +0000 |
---|---|---|
committer | Glenn Sayers <glennsayers@protonmail.com> | 2017-02-09 16:33:30 +0000 |
commit | edea801389e3996dfb2d312abc06d20534163764 (patch) | |
tree | 548a61aaf930289763610ddf66313575e613229b /app | |
parent | 088096cd25589e3608a40de5f8ee8b74dfebe370 (diff) | |
download | gitlab-ce-edea801389e3996dfb2d312abc06d20534163764.tar.gz |
Allow copying a created branch name to the clipboard.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/_last_push.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/_last_push.html.haml b/app/views/projects/_last_push.html.haml index 1c3bccccb5c..a08436715d2 100644 --- a/app/views/projects/_last_push.html.haml +++ b/app/views/projects/_last_push.html.haml @@ -10,6 +10,7 @@ - if @project && event.project != @project %span at %strong= link_to_project event.project + = clipboard_button(clipboard_text: event.ref_name, class: 'btn-clipboard btn-transparent', title: 'Copy branch to clipboard') #{time_ago_with_tooltip(event.created_at)} .pull-right |