diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-06 10:58:24 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-06 10:58:24 +0000 |
commit | ddb3692a2218e97dfcc256e21a0fccc97c5d9a56 (patch) | |
tree | aabb5e0b0d6f37ee068a8804ccef46b994d4afba /app/views/groups/labels/index.html.haml | |
parent | f497f170697c838747bb7cdaca2d1939f843a00c (diff) | |
download | gitlab-ce-ddb3692a2218e97dfcc256e21a0fccc97c5d9a56.tar.gz |
Clean up new navigation templates
Diffstat (limited to 'app/views/groups/labels/index.html.haml')
-rw-r--r-- | app/views/groups/labels/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/labels/index.html.haml b/app/views/groups/labels/index.html.haml index 50179a47797..9e59a09d459 100644 --- a/app/views/groups/labels/index.html.haml +++ b/app/views/groups/labels/index.html.haml @@ -1,5 +1,5 @@ - page_title 'Labels' -- if show_new_nav? && can?(current_user, :admin_label, @group) +- if can?(current_user, :admin_label, @group) - content_for :breadcrumbs_extra do = link_to "New label", new_group_label_path(@group), class: "btn btn-new" @@ -10,7 +10,7 @@ .nav-text Labels can be applied to issues and merge requests. Group labels are available for any project within the group. - .nav-controls{ class: ("visible-xs" if show_new_nav?) } + .nav-controls.visible-xs - if can?(current_user, :admin_label, @group) = link_to "New label", new_group_label_path(@group), class: "btn btn-new" |