diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-01 14:15:37 +0200 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-02 09:26:58 +0200 |
commit | 47e6df1bcacfd41926840993b839df04e8c8f6d6 (patch) | |
tree | 2dec031bda5cf7385031eece00a3cc7c958c3384 /app/views/groups/labels | |
parent | 88224ccea67290e1bfa600379715ab278984ccdf (diff) | |
download | gitlab-ce-47e6df1bcacfd41926840993b839df04e8c8f6d6.tar.gz |
Update project and group labels empty state
Diffstat (limited to 'app/views/groups/labels')
-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" |