diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 14:37:18 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 14:37:18 -0500 |
commit | 5c7181b51492bd3ee13c5b498ac117ba08576ea8 (patch) | |
tree | 2767a81c4226b6f3868d89c9e0269e4ea4f5dfb8 /app/views/shared | |
parent | 9a99fccb9717d4f1b0221de84094bb8db4ed280f (diff) | |
download | gitlab-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.haml | 2 |
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 |