diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 15:00:28 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 15:00:28 +0100 |
commit | d8a0e4538d0189b524f6745c32d5b98cd3ed8dc8 (patch) | |
tree | b835fe592f07ee746917a596ad0895d635dba675 | |
parent | ebc5a62bc082df08e5b5508a3dd9322b2e8f2bcf (diff) | |
download | gitlab-ce-d8a0e4538d0189b524f6745c32d5b98cd3ed8dc8.tar.gz |
Add tooltip to branch delete button
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index ba6995aa671..5081bae6801 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -26,7 +26,7 @@ Compare - if can_remove_branch?(@project, branch.name) - = link_to namespace_project_branch_path(@project.namespace, @project, branch.name), class: 'btn btn-grouped btn-xs btn-remove remove-row', method: :delete, data: { confirm: "Deleting the '#{branch.name}' branch cannot be undone. Are you sure?" }, remote: true do + = link_to namespace_project_branch_path(@project.namespace, @project, branch.name), class: 'btn btn-grouped btn-xs btn-remove remove-row has_tooltip', title: "Delete branch", method: :delete, data: { confirm: "Deleting the '#{branch.name}' branch cannot be undone. Are you sure?", container: 'body' }, remote: true do = icon("trash-o") - if commit |