2016-06-02 11:05:42 +05:30
|
|
|
%ul.bordered-list.manage-labels-list
|
|
|
|
- labels.each do |label|
|
|
|
|
- options = { milestone_title: @milestone.title, label_name: label.title }
|
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
%li.no-border
|
2020-04-22 19:07:51 +05:30
|
|
|
= render_label(label, tooltip: false, link: milestones_issues_path(options))
|
2020-04-08 14:13:33 +05:30
|
|
|
%span.prepend-description-left
|
|
|
|
= markdown_field(label, :description)
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
.float-right.d-none.d-lg-block
|
|
|
|
= link_to milestones_issues_path(options.merge(state: 'opened')), class: 'btn gl-button btn-default-tertiary btn-action' do
|
2020-05-24 23:13:21 +05:30
|
|
|
- pluralize milestone_issues_by_label_count(@milestone, label, state: :opened), _('open issue')
|
2021-01-29 00:20:46 +05:30
|
|
|
= link_to milestones_issues_path(options.merge(state: 'closed')), class: 'btn gl-button btn-default-tertiary btn-action' do
|
2020-05-24 23:13:21 +05:30
|
|
|
- pluralize milestone_issues_by_label_count(@milestone, label, state: :closed), _('closed issue')
|