2018-12-05 23:21:45 +05:30
|
|
|
- sorted_by = sort_options_hash[@sort]
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.dropdown.inline.gl-ml-3
|
2019-02-15 15:39:39 +05:30
|
|
|
%button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown', display: 'static' } }
|
2018-12-05 23:21:45 +05:30
|
|
|
= sorted_by
|
2021-02-22 17:27:13 +05:30
|
|
|
= sprite_icon('chevron-down', css_class: 'dropdown-menu-toggle-icon gl-top-3')
|
2018-12-05 23:21:45 +05:30
|
|
|
%ul.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable.dropdown-menu-sort
|
|
|
|
%li
|
2019-02-15 15:39:39 +05:30
|
|
|
= sortable_item(sort_title_created_date, page_filter_path(sort: sort_value_created_date), sorted_by)
|
|
|
|
= sortable_item(sort_title_contacted_date, page_filter_path(sort: sort_value_contacted_date), sorted_by)
|
2018-12-05 23:21:45 +05:30
|
|
|
|