diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-16 14:22:30 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-16 14:22:30 -0500 |
commit | eaf3204c23688cdec5b4aa3eab68da22617bf74b (patch) | |
tree | 03267eb2dc203becb801385e6b5854e97b8d66f1 /app/views/projects/commits | |
parent | 43bf9f42728efc991a365e2bafa93c6f285329b2 (diff) | |
download | gitlab-ce-eaf3204c23688cdec5b4aa3eab68da22617bf74b.tar.gz |
Fix sha container with copy button
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 60d0c17f920..55e25e4bee6 100644 --- a/app/views/projects/commits/_commit.html.haml +++ b/app/views/projects/commits/_commit.html.haml @@ -58,7 +58,7 @@ .js-commit-pipeline-status{ data: { endpoint: pipelines_project_commit_path(project, commit.id, ref: ref) } } .commit-sha-group - .badge.label-monospace + .label.label-monospace = commit.short_id = clipboard_button(text: commit.id, title: _("Copy commit SHA to clipboard"), class: "btn btn-secondary", container: "body") = link_to_browse_code(project, commit) |