diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-15 16:11:01 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-15 16:11:01 -0500 |
commit | f49ac5c8d3c3fbe9a75a31ace0cf7a0ed698ded2 (patch) | |
tree | 1cd578006639861a0596c6025681f0dcbe70cfe7 /app/views/projects/commit/_commit_box.html.haml | |
parent | a5a9cd304c10fe012df433e14053b973f7cfc749 (diff) | |
download | gitlab-ce-f49ac5c8d3c3fbe9a75a31ace0cf7a0ed698ded2.tar.gz |
Fix clipboard buttons on MR instructions and Commit#showrs-clipboard-fixes
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r-- | app/views/projects/commit/_commit_box.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index 634924db247..cd40bfafcc2 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -20,8 +20,8 @@ %p %span.light Commit - = link_to @commit.id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace", data: { clipboard_text: @commit.id } - = clipboard_button + = link_to @commit.id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace" + = clipboard_button(clipboard_text: @commit.id) .commit-info-row %span.light Authored by %strong |