summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-18 14:37:18 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-04-18 14:37:18 -0500
commit5c7181b51492bd3ee13c5b498ac117ba08576ea8 (patch)
tree2767a81c4226b6f3868d89c9e0269e4ea4f5dfb8 /app/views/shared
parent9a99fccb9717d4f1b0221de84094bb8db4ed280f (diff)
downloadgitlab-ce-5c7181b51492bd3ee13c5b498ac117ba08576ea8.tar.gz
Add is-link attribute to know if a menu item should not be stopped
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index ef670bc9baa..62b95824bab 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -113,7 +113,7 @@
%a.dropdown-toggle-page{href: "#"}
Create new
%li
- = link_to namespace_project_labels_path(@project.namespace, @project) do
+ = link_to namespace_project_labels_path(@project.namespace, @project), :"data-is-link" => true do
- if can? current_user, :admin_label, @project
Manage labels
- else