summaryrefslogtreecommitdiff
path: root/app/views/projects/tags/_tag.html.haml
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-03-20 20:01:46 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-03-20 21:37:22 +0100
commit367818d2934af8f3eb7313147198801d021445e5 (patch)
treed4833b7eb470293d80493478f70929c710679b31 /app/views/projects/tags/_tag.html.haml
parentd19abe6f65fdf79060b233ac7df742897a8fb55e (diff)
downloadgitlab-ce-367818d2934af8f3eb7313147198801d021445e5.tar.gz
change the css class has_tooltip to has-tooltip universallychange_css_class_has_tooltip_to_has-tooltip
Diffstat (limited to 'app/views/projects/tags/_tag.html.haml')
-rw-r--r--app/views/projects/tags/_tag.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/tags/_tag.html.haml b/app/views/projects/tags/_tag.html.haml
index 399782273d3..dbc35c16feb 100644
--- a/app/views/projects/tags/_tag.html.haml
+++ b/app/views/projects/tags/_tag.html.haml
@@ -15,11 +15,11 @@
= 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-grouped btn has_tooltip', title: "Edit release notes" do
+ = link_to edit_namespace_project_tag_release_path(@project.namespace, @project, tag.name), class: 'btn-grouped btn has-tooltip', title: "Edit release notes" do
= icon("pencil")
- if can?(current_user, :admin_project, @project)
- = link_to namespace_project_tag_path(@project.namespace, @project, tag.name), class: 'btn btn-grouped btn-xs btn-remove remove-row has_tooltip', title: "Delete tag", method: :delete, data: { confirm: "Deleting the '#{tag.name}' tag cannot be undone. Are you sure?", container: 'body' }, remote: true do
+ = link_to namespace_project_tag_path(@project.namespace, @project, tag.name), class: 'btn btn-grouped btn-xs btn-remove remove-row has-tooltip', title: "Delete tag", method: :delete, data: { confirm: "Deleting the '#{tag.name}' tag cannot be undone. Are you sure?", container: 'body' }, remote: true do
= icon("trash-o")
- if commit