gitlab-org--gitlab-foss/app/views/shared/_labels_row.html.haml

6 lines
412 B
Text
Raw Normal View History

2016-04-19 12:22:55 -04:00
- labels.each do |label|
%span.label-row.btn-group{ role: "group", aria: { label: label.name }, style: "color: #{text_color_for_bg(label.color)}" }
= link_to_label(label, subject: @project, css_class: 'btn btn-transparent')
2016-05-26 13:54:07 -04:00
%button.btn.btn-transparent.label-remove.js-label-filter-remove{ type: "button", style: "background-color: #{label.color};", data: { label: label.title } }
= icon("times")