Only show label type for projects that belong to a group

parent 355389d0
......@@ -10,6 +10,7 @@
= icon('star')
%span.label-name
= link_to_label(label, subject: @project, tooltip: false)
- if defined?(@project) && @project.group.present?
%span.label-type
= label.model_name.human.titleize
- if label.description
......
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