diff --git a/CHANGELOG b/CHANGELOG index 00e8cc50f9..68c5d16d78 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ v 8.6.2 - Fix error with anonymous token in applications settings. !3362 - Fix the milestone 'upcoming' filter. !3364 - Fix comments on confidential issues showing up in activity feed to non-members. !3375 + - Add a tooltip to new branch button in issue page. !3380 v 8.6.1 - Add option to reload the schema before restoring a database backup. !2807 diff --git a/app/views/projects/issues/_new_branch.html.haml b/app/views/projects/issues/_new_branch.html.haml index e66e4669d4..6da8e4f33a 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