From b6c7e88d3e5e798d6b58c80f213d749871b4b6f4 Mon Sep 17 00:00:00 2001 From: victorwu Date: Thu, 12 Jan 2017 15:57:00 -0500 Subject: Update clipboard_button text: Copy commit SHA to clipboard --- app/views/projects/commits/_commit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/projects/commits') diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml index 3c6c50dce3c..002e3d345dc 100644 --- a/app/views/projects/commits/_commit.html.haml +++ b/app/views/projects/commits/_commit.html.haml @@ -36,6 +36,6 @@ .table-list-cell.commit-actions.hidden-xs - if commit.status(ref) = render_commit_status(commit, ref: ref) - = clipboard_button(clipboard_text: commit.id) + = clipboard_button(clipboard_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) -- cgit v1.2.1