Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
edea8013
Commit
edea8013
authored
Feb 09, 2017
by
Glenn Sayers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow copying a created branch name to the clipboard.
parent
088096cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
app/views/projects/_last_push.html.haml
app/views/projects/_last_push.html.haml
+1
-0
changelogs/unreleased/copy-branch-to-clipboard.yml
changelogs/unreleased/copy-branch-to-clipboard.yml
+4
-0
No files found.
app/views/projects/_last_push.html.haml
View file @
edea8013
...
...
@@ -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
...
...
changelogs/unreleased/copy-branch-to-clipboard.yml
0 → 100644
View file @
edea8013
---
title
:
Added the ability to copy a branch name to the clipboard
merge_request
:
9103
author
:
Glenn Sayers
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment