summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-12 07:50:48 +0000
committerPhil Hughes <me@iamphill.com>2017-05-12 07:50:48 +0000
commita05db435b49214b70796ff48b6b1f7e92c55903f (patch)
tree291f2cfa50d654e3d06985f132f9c9326f9dbd68
parent3190b292782febeea82c3ea5b1e165c01d51f638 (diff)
parent53d7065fe2a46522697dd485cb2e150a4c389a01 (diff)
downloadgitlab-ce-a05db435b49214b70796ff48b6b1f7e92c55903f.tar.gz
Merge branch '29168-copy-commit' into 'master'
Move copy button after commit sha Closes #29168 See merge request !11303
-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 8f32d2b72e5..24153b8b59a 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(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"
+ = clipboard_button(text: commit.id, title: "Copy commit SHA to clipboard")
= link_to_browse_code(project, commit)