2018-11-08 19:23:39 +05:30
|
|
|
%ul.nav-links.mobile-separator.nav.nav-tabs
|
2017-08-17 22:00:37 +05:30
|
|
|
%li{ class: milestone_class_for_state(params[:state], 'opened', true) }>
|
2016-04-02 18:10:28 +05:30
|
|
|
= link_to milestones_filter_path(state: 'opened') do
|
2020-05-24 23:13:21 +05:30
|
|
|
= _('Open')
|
2018-11-08 19:23:39 +05:30
|
|
|
%span.badge.badge-pill= counts[:opened]
|
2017-08-17 22:00:37 +05:30
|
|
|
%li{ class: milestone_class_for_state(params[:state], 'closed') }>
|
|
|
|
= link_to milestones_filter_path(state: 'closed', sort: 'due_date_desc') do
|
2020-05-24 23:13:21 +05:30
|
|
|
= _('Closed')
|
2018-11-08 19:23:39 +05:30
|
|
|
%span.badge.badge-pill= counts[:closed]
|
2017-08-17 22:00:37 +05:30
|
|
|
%li{ class: milestone_class_for_state(params[:state], 'all') }>
|
|
|
|
= link_to milestones_filter_path(state: 'all', sort: 'due_date_desc') do
|
2020-05-24 23:13:21 +05:30
|
|
|
= _('All')
|
2018-11-08 19:23:39 +05:30
|
|
|
%span.badge.badge-pill= counts[:all]
|