From edea801389e3996dfb2d312abc06d20534163764 Mon Sep 17 00:00:00 2001 From: Glenn Sayers Date: Thu, 9 Feb 2017 16:10:10 +0000 Subject: Allow copying a created branch name to the clipboard. --- app/views/projects/_last_push.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/projects/_last_push.html.haml') 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 -- cgit v1.2.1