Commit e1ef4ac6 authored by Luke Bennett's avatar Luke Bennett

Remove group label badge on group labels page

parent 2fd334b8
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
%li.label-list-item{ id: label_css_id, data: { id: label.id } } %li.label-list-item{ id: label_css_id, data: { id: label.id } }
= render "shared/label_row", label: label, subject: subject = render "shared/label_row", label: label, subject: subject
%ul.label-actions-list %ul.label-actions-list
- if controller.is_a?(Projects::LabelsController)
%li.inline %li.inline
.label-badge.label-badge-gray= label.model_name.human.capitalize .label-badge.label-badge-gray= label.model_name.human.capitalize
- if can?(current_user, :admin_label, label) - if can?(current_user, :admin_label, label)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment