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