2015-09-25 12:07:36 +05:30
|
|
|
.dropdown.inline
|
|
|
|
%button.dropdown-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
|
2016-04-02 18:10:28 +05:30
|
|
|
%span.light
|
2015-09-25 12:07:36 +05:30
|
|
|
- if @sort.present?
|
|
|
|
= sort_options_hash[@sort]
|
|
|
|
- else
|
2016-04-02 18:10:28 +05:30
|
|
|
= sort_title_recently_updated
|
2015-09-25 12:07:36 +05:30
|
|
|
%b.caret
|
|
|
|
%ul.dropdown-menu
|
|
|
|
%li
|
2016-04-02 18:10:28 +05:30
|
|
|
= link_to explore_projects_filter_path(sort: sort_value_name) do
|
|
|
|
= sort_title_name
|
2015-09-25 12:07:36 +05:30
|
|
|
= link_to explore_projects_filter_path(sort: sort_value_recently_created) do
|
|
|
|
= sort_title_recently_created
|
|
|
|
= link_to explore_projects_filter_path(sort: sort_value_oldest_created) do
|
|
|
|
= sort_title_oldest_created
|
|
|
|
= link_to explore_projects_filter_path(sort: sort_value_recently_updated) do
|
|
|
|
= sort_title_recently_updated
|
|
|
|
= link_to explore_projects_filter_path(sort: sort_value_oldest_updated) do
|
|
|
|
= sort_title_oldest_updated
|