Allow copying a created branch name to the clipboard.

This commit is contained in:
Glenn Sayers 2017-02-09 16:10:10 +00:00
parent 088096cd25
commit edea801389
2 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,7 @@
- if @project && event.project != @project - if @project && event.project != @project
%span at %span at
%strong= link_to_project event.project %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)} #{time_ago_with_tooltip(event.created_at)}
.pull-right .pull-right

View file

@ -0,0 +1,4 @@
---
title: Added the ability to copy a branch name to the clipboard
merge_request: 9103
author: Glenn Sayers