diff options
author | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-11-05 12:32:21 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-11-05 12:32:21 +0000 |
commit | a5fa8228f6d1c79431396a58ea289dc7a9a4b6d6 (patch) | |
tree | d99a02c7e4f907f6964f335b5edb176e2f2d81aa /app/views/groups/labels/index.html.haml | |
parent | f702b39a648467fe047bb468645e4a1ae525f566 (diff) | |
parent | 5abba8bf1cafdc9e126394880ab1ec19e47c8f09 (diff) | |
download | gitlab-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.haml | 2 |
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" |