Commit 8b7dd1c1 authored by Douwe Maan's avatar Douwe Maan

Add clipboard button to commit box SHA

parent e718bab9
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
%p %p
%span.light Commit %span.light Commit
= link_to @commit.id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace" = link_to @commit.id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace", data: { clipboard_text: @commit.id }
= clipboard_button
.commit-info-row .commit-info-row
%span.light Authored by %span.light Authored by
%strong %strong
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment