Remove group label badge on group labels page
This commit is contained in:
parent
2fd334b86a
commit
e1ef4ac620
1 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,9 @@
|
|||
%li.label-list-item{ id: label_css_id, data: { id: label.id } }
|
||||
= render "shared/label_row", label: label, subject: subject
|
||||
%ul.label-actions-list
|
||||
%li.inline
|
||||
.label-badge.label-badge-gray= label.model_name.human.capitalize
|
||||
- if controller.is_a?(Projects::LabelsController)
|
||||
%li.inline
|
||||
.label-badge.label-badge-gray= label.model_name.human.capitalize
|
||||
- if can?(current_user, :admin_label, label)
|
||||
- if @project.present?
|
||||
%li.inline.js-toggle-priority{ data: { url: remove_priority_project_label_path(@project, label),
|
||||
|
|
Loading…
Reference in a new issue