.dropdown.inline.prepend-left-10
%a.dropdown-toggle.btn{href: '#', "data-toggle" => "dropdown"}
%span.light sort:
- if @sort.present?
= @sort
- else
Newest
%b.caret
%ul.dropdown-menu.dropdown-menu-align-right
%li
= link_to page_filter_path(sort: 'newest') do
= sort_title_recently_created
= link_to page_filter_path(sort: 'oldest') do
= sort_title_oldest_created
= link_to page_filter_path(sort: 'recently_updated') do
= sort_title_recently_updated
= link_to page_filter_path(sort: 'last_updated') do
= sort_title_oldest_updated
= link_to page_filter_path(sort: 'milestone_due_soon') do
Milestone due soon
= link_to page_filter_path(sort: 'milestone_due_later') do
Milestone due later
-
Hannes Rosenögger authored
see gitlab-org/gitlab-ce#986
b0ec6150