summaryrefslogtreecommitdiff
path: root/app/views/groups/labels/index.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2018-11-05 12:32:21 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2018-11-05 12:32:21 +0000
commita5fa8228f6d1c79431396a58ea289dc7a9a4b6d6 (patch)
treed99a02c7e4f907f6964f335b5edb176e2f2d81aa /app/views/groups/labels/index.html.haml
parentf702b39a648467fe047bb468645e4a1ae525f566 (diff)
parent5abba8bf1cafdc9e126394880ab1ec19e47c8f09 (diff)
downloadgitlab-ce-a5fa8228f6d1c79431396a58ea289dc7a9a4b6d6.tar.gz
Merge branch 'gt-update-project-and-group-labels-empty-state' into 'master'
Update project and group labels empty state See merge request gitlab-org/gitlab-ce!22745
Diffstat (limited to 'app/views/groups/labels/index.html.haml')
-rw-r--r--app/views/groups/labels/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/labels/index.html.haml b/app/views/groups/labels/index.html.haml
index 5b78ce910b8..4df3d831942 100644
--- a/app/views/groups/labels/index.html.haml
+++ b/app/views/groups/labels/index.html.haml
@@ -6,7 +6,7 @@
- subscribed = params[:subscribed]
- labels_or_filters = @labels.exists? || search.present? || subscribed.present?
-- if can_admin_label
+- if @labels.present? && can_admin_label
- content_for(:header_content) do
.nav-controls
= link_to _('New label'), new_group_label_path(@group), class: "btn btn-success"