2020-07-17 09:09:43 +00:00
|
|
|
.dropdown.inline.gl-ml-3
|
2018-12-03 15:23:05 +00:00
|
|
|
%button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } }
|
2017-03-24 00:39:12 +00:00
|
|
|
%span.light
|
|
|
|
- if @sort.present?
|
|
|
|
= milestone_sort_options_hash[@sort]
|
|
|
|
- else
|
|
|
|
= sort_title_due_date_soon
|
2020-11-23 21:09:19 +00:00
|
|
|
= sprite_icon('chevron-down', css_class: 'dropdown-menu-toggle-icon gl-top-3')
|
2018-04-17 17:18:41 +00:00
|
|
|
%ul.dropdown-menu.dropdown-menu-right.dropdown-menu-sort
|
2017-03-24 00:39:12 +00:00
|
|
|
%li
|
2018-12-14 04:13:51 +00:00
|
|
|
= link_to page_filter_path(sort: sort_value_due_date_soon) do
|
2017-03-24 00:39:12 +00:00
|
|
|
= sort_title_due_date_soon
|
2018-12-14 04:13:51 +00:00
|
|
|
= link_to page_filter_path(sort: sort_value_due_date_later) do
|
2017-03-24 00:39:12 +00:00
|
|
|
= sort_title_due_date_later
|
2018-12-14 04:13:51 +00:00
|
|
|
= link_to page_filter_path(sort: sort_value_start_date_soon) do
|
2017-03-24 00:39:12 +00:00
|
|
|
= sort_title_start_date_soon
|
2018-12-14 04:13:51 +00:00
|
|
|
= link_to page_filter_path(sort: sort_value_start_date_later) do
|
2017-03-24 00:39:12 +00:00
|
|
|
= sort_title_start_date_later
|
2018-12-14 04:13:51 +00:00
|
|
|
= link_to page_filter_path(sort: sort_value_name) do
|
2017-03-24 00:39:12 +00:00
|
|
|
= sort_title_name_asc
|
2018-12-14 04:13:51 +00:00
|
|
|
= link_to page_filter_path(sort: sort_value_name_desc) do
|
2017-03-24 00:39:12 +00:00
|
|
|
= sort_title_name_desc
|