Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_labels_row.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 87028ececd4bf21d4d1ee917c2909b5bff206957 (plain)
1
2
3
4
5
6
7
8
9
10
- labels.each do |label|
  %span.label-row.btn-group{ role: "group", aria: { label: escape_once(label.name) }, style: "color: #{text_color_for_bg(label.color)}" }
    = link_to namespace_project_label_path(@project.namespace, @project, label),
      class: "btn btn-transparent has-tooltip",
      style: "background-color: #{label.color};",
      title: escape_once(label.description),
      data: { container: "body" } do
      = escape_once label.name
    %button.btn.btn-transparent.label-remove.js-label-filter-remove{ type: "button", style: "background-color: #{label.color};", data: { label: label.title } }
      = icon("times")