summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-05-11 12:01:08 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-05-11 12:01:08 -0500
commit53d7065fe2a46522697dd485cb2e150a4c389a01 (patch)
treef1cfe1202dfca4b16a9bcac150a6860859607bee
parentb562b8816634681ce6346561a0418c4066bf19b4 (diff)
downloadgitlab-ce-29168-copy-commit.tar.gz
Move copy button after commit sha29168-copy-commit
-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)