summaryrefslogtreecommitdiff
path: root/app/views/projects/commits
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-02 11:20:51 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-02 11:20:51 +0100
commit2955ca613bfe13cd15c43d082be934075636ae0e (patch)
tree4c367f600ff0b7f273c3b4194e97060141b54b02 /app/views/projects/commits
parente1e67d383e4b56c9e1848aebc175402a71502e82 (diff)
parent09e712c0fb721059e4b2619eb9fc104257fc492d (diff)
downloadgitlab-ce-2955ca613bfe13cd15c43d082be934075636ae0e.tar.gz
Merge branch 'master' into reference-pipeline-and-caching
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r--app/views/projects/commits/_commit.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml
index 80f25ed1296..0d64486164e 100644
--- a/app/views/projects/commits/_commit.html.haml
+++ b/app/views/projects/commits/_commit.html.haml
@@ -20,8 +20,8 @@
- if ci_commit
= render_ci_status(ci_commit)
&nbsp;
- = clipboard_button
- = link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit_short_id", data: {clipboard_text: commit.id}
+ = clipboard_button(clipboard_text: commit.id)
+ = link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit), class: "commit_short_id"
.notes_count
- if note_count > 0