Merge branch 'copy-branch-to-clipboard' into 'master'

Allow copying a created branch name to the clipboard.

See merge request !9103
This commit is contained in:
Filipa Lacerda 2017-02-09 21:18:24 +00:00
commit e355d8fe28
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

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