diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-17 10:55:27 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-17 10:55:27 +0100 |
commit | d7a8e5e2e4840f6d42fde29089a040007e18a13a (patch) | |
tree | 8e29ec13be769a445a6f2f0831ac152c02ba08f4 | |
parent | f011b86beb89557afdaf2b0ec5ae904d0be237d8 (diff) | |
download | gitlab-ce-tags-edit-tooltip-placement.tar.gz |
Fixed tooltip placement on edit tags buttontags-edit-tooltip-placement
-rw-r--r-- | app/views/projects/tags/_tag.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tags/_tag.html.haml b/app/views/projects/tags/_tag.html.haml index 844e1055810..2c11c0e5b21 100644 --- a/app/views/projects/tags/_tag.html.haml +++ b/app/views/projects/tags/_tag.html.haml @@ -15,7 +15,7 @@ = render 'projects/tags/download', ref: tag.name, project: @project - if can?(current_user, :push_code, @project) - = link_to edit_namespace_project_tag_release_path(@project.namespace, @project, tag.name), class: 'btn has-tooltip', title: "Edit release notes" do + = link_to edit_namespace_project_tag_release_path(@project.namespace, @project, tag.name), class: 'btn has-tooltip', title: "Edit release notes", data: { container: "body" } do = icon("pencil") - if can?(current_user, :admin_project, @project) |