diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-24 12:09:42 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-24 13:00:33 +0100 |
commit | 221c917c6c46246c3211207405a4849fb59e9636 (patch) | |
tree | c26dca7a975c5aa8583855a74c239b2beae7b057 | |
parent | ffe5ac41b84c342a8b1d099afe116cb1522da8f2 (diff) | |
download | gitlab-ce-221c917c6c46246c3211207405a4849fb59e9636.tar.gz |
Add tooltip to new branch buttonadd-tooltip-to-issue-new-branch-button-with-create-branch-issue-title-123-14565
-rw-r--r-- | app/views/projects/issues/_new_branch.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_new_branch.html.haml b/app/views/projects/issues/_new_branch.html.haml index e66e4669d48..6da8e4f33a9 100644 --- a/app/views/projects/issues/_new_branch.html.haml +++ b/app/views/projects/issues/_new_branch.html.haml @@ -1,5 +1,5 @@ - if current_user && can?(current_user, :push_code, @project) && @issue.can_be_worked_on?(current_user) .pull-right - = link_to namespace_project_branches_path(@project.namespace, @project, branch_name: @issue.to_branch_name, issue_iid: @issue.iid), method: :post, class: 'btn', title: @issue.to_branch_name do + = link_to namespace_project_branches_path(@project.namespace, @project, branch_name: @issue.to_branch_name, issue_iid: @issue.iid), method: :post, class: 'btn has-tooltip', title: @issue.to_branch_name do = icon('code-fork') New Branch |