14 lines
591 B
Plaintext
14 lines
591 B
Plaintext
%ul.nav-links.mobile-separator
|
|
%li{ class: milestone_class_for_state(params[:state], 'opened', true) }>
|
|
= link_to milestones_filter_path(state: 'opened') do
|
|
Open
|
|
%span.badge= counts[:opened]
|
|
%li{ class: milestone_class_for_state(params[:state], 'closed') }>
|
|
= link_to milestones_filter_path(state: 'closed', sort: 'due_date_desc') do
|
|
Closed
|
|
%span.badge= counts[:closed]
|
|
%li{ class: milestone_class_for_state(params[:state], 'all') }>
|
|
= link_to milestones_filter_path(state: 'all', sort: 'due_date_desc') do
|
|
All
|
|
%span.badge= counts[:all]
|