Allow copying a created branch name to the clipboard.
This commit is contained in:
parent
088096cd25
commit
edea801389
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
4
changelogs/unreleased/copy-branch-to-clipboard.yml
Normal file
4
changelogs/unreleased/copy-branch-to-clipboard.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Added the ability to copy a branch name to the clipboard
|
||||||
|
merge_request: 9103
|
||||||
|
author: Glenn Sayers
|
Loading…
Reference in a new issue