Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-06 11:38:48 +0300
committerPhil Hughes <me@iamphill.com>2017-09-06 18:07:48 +0300
commit632b24820e4a0bc0e96a2e5900ca6f0aa1e857c5 (patch)
tree497261299bb77994ec1cbd49848e371fc3a37549 /app/views/groups/labels/index.html.haml
parentcdd8f2f345aeb3fb05bbe8f567e72b717f388636 (diff)
Moves the action buttons out of the breadcrumbs
Closes #36459
Diffstat (limited to 'app/views/groups/labels/index.html.haml')
-rw-r--r--app/views/groups/labels/index.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/groups/labels/index.html.haml b/app/views/groups/labels/index.html.haml
index 9e59a09d459..89165096fe2 100644
--- a/app/views/groups/labels/index.html.haml
+++ b/app/views/groups/labels/index.html.haml
@@ -1,7 +1,4 @@
- page_title 'Labels'
-- 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"
= render "groups/head_issues"
@@ -10,7 +7,7 @@
.nav-text
Labels can be applied to issues and merge requests. Group labels are available for any project within the group.
- .nav-controls.visible-xs
+ .nav-controls
- if can?(current_user, :admin_label, @group)
= link_to "New label", new_group_label_path(@group), class: "btn btn-new"