diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-04-06 21:10:14 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-04-06 21:10:14 +0000 |
commit | 12c18ee546c10bd6af0dbeb5d86f16836863356b (patch) | |
tree | 5b748409f1bc25262cab2308dbe1b38e70e5e487 /app/views/projects/commits | |
parent | 00e00cacf8cb4ce3bfb733bae47e7e594e91e294 (diff) | |
download | gitlab-ce-12c18ee546c10bd6af0dbeb5d86f16836863356b.tar.gz |
Copy diff file path as GFM
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r-- | app/views/projects/commits/_commit.html.haml | 2 |
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 4b1ff75541a..8f32d2b72e5 100644 --- a/app/views/projects/commits/_commit.html.haml +++ b/app/views/projects/commits/_commit.html.haml @@ -37,6 +37,6 @@ .commit-actions.flex-row.hidden-xs - if commit.status(ref) = render_commit_status(commit, ref: ref) - = clipboard_button(clipboard_text: commit.id, title: "Copy commit SHA to clipboard") + = clipboard_button(text: commit.id, title: "Copy commit SHA to clipboard") = 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) |