2016-04-02 18:10:28 +05:30
|
|
|
%span.label-row
|
2016-06-16 23:09:34 +05:30
|
|
|
- if can?(current_user, :admin_label, @project)
|
|
|
|
.js-toggle-priority.toggle-priority{ data: { url: remove_priority_namespace_project_label_path(@project.namespace, @project, label),
|
|
|
|
dom_id: dom_id(label) } }
|
|
|
|
%button.add-priority.btn.has-tooltip{ title: 'Prioritize', :'data-placement' => 'top' }
|
|
|
|
= icon('star-o')
|
|
|
|
%button.remove-priority.btn.has-tooltip{ title: 'Remove priority', :'data-placement' => 'top' }
|
|
|
|
= icon('star')
|
2016-06-02 11:05:42 +05:30
|
|
|
%span.label-name
|
|
|
|
= link_to_label(label, tooltip: false)
|
2016-06-16 23:09:34 +05:30
|
|
|
- if label.description
|
|
|
|
%span.label-description
|
|
|
|
= markdown(label.description, pipeline: :single_line)
|