debian-mirror-gitlab/app/views/shared/_labels_row.html.haml

6 lines
412 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
- labels.each do |label|
2016-08-24 12:49:21 +05:30
%span.label-row.btn-group{ role: "group", aria: { label: label.name }, style: "color: #{text_color_for_bg(label.color)}" }
2016-11-03 12:29:30 +05:30
= link_to_label(label, subject: @project, css_class: 'btn btn-transparent')
%button.btn.btn-transparent.label-remove.js-label-filter-remove{ type: "button", style: "background-color: #{label.color};", data: { label: label.title } }
= icon("times")