summaryrefslogtreecommitdiff
path: root/app/views/projects/commits/_commit.html.haml
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-09 03:06:12 +0200
committerwinniehell <git@winniehell.de>2016-07-11 14:20:48 +0200
commitf2bf47f4dffacbb34ac3e4ed27f83176e29f9159 (patch)
tree62d74f6d341c3573bbe1bc9c32daa35158e39d80 /app/views/projects/commits/_commit.html.haml
parent697e9889b610ad5ddd815904167b838488791c75 (diff)
downloadgitlab-ce-f2bf47f4dffacbb34ac3e4ed27f83176e29f9159.tar.gz
Display tooltip for "Copy to Clipboard" button (!5164)
Diffstat (limited to 'app/views/projects/commits/_commit.html.haml')
-rw-r--r--app/views/projects/commits/_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml
index 929496f81d8..c8c7b858baa 100644
--- a/app/views/projects/commits/_commit.html.haml
+++ b/app/views/projects/commits/_commit.html.haml
@@ -25,7 +25,7 @@
.commit-actions.hidden-xs
- if commit.status
= render_commit_status(commit, cssclass: 'btn btn-transparent')
- = clipboard_button_with_class({ clipboard_text: commit.id }, css_class: 'btn-transparent')
+ = clipboard_button(clipboard_text: commit.id)
= link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit-short-id btn btn-transparent"
= link_to_browse_code(project, commit)