diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-15 17:18:55 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-16 12:29:47 +0300 |
commit | 1a086745fc9a3e1ad74a7156f7f8bbf826a46b83 (patch) | |
tree | b1c51e948359ed59ecf2fda94655ac8a84997896 /app/views/shared/_sort_dropdown.html.haml | |
parent | fdc949073ceabac7f573c1c1e0fcf06e4603ce11 (diff) |
Fixed tests
Diffstat (limited to 'app/views/shared/_sort_dropdown.html.haml')
-rw-r--r-- | app/views/shared/_sort_dropdown.html.haml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/app/views/shared/_sort_dropdown.html.haml b/app/views/shared/_sort_dropdown.html.haml index 154d9e30851..1e0f075b303 100644 --- a/app/views/shared/_sort_dropdown.html.haml +++ b/app/views/shared/_sort_dropdown.html.haml @@ -10,31 +10,22 @@ %li = link_to page_filter_path(sort: sort_value_recently_created) do = sort_title_recently_created - %li = link_to page_filter_path(sort: sort_value_oldest_created) do = sort_title_oldest_created - %li = link_to page_filter_path(sort: sort_value_recently_updated) do = sort_title_recently_updated - %li = link_to page_filter_path(sort: sort_value_oldest_updated) do = sort_title_oldest_updated - %li = link_to page_filter_path(sort: sort_value_milestone_soon) do = sort_title_milestone_soon - %li = link_to page_filter_path(sort: sort_value_milestone_later) do = sort_title_milestone_later - - if controller.controller_name == 'issues' || controller.action_name == 'issues' - %li + - if controller.controller_name == 'issues' || controller.action_name == 'issues' = link_to page_filter_path(sort: sort_value_due_date_soon) do = sort_title_due_date_soon - %li = link_to page_filter_path(sort: sort_value_due_date_later) do = sort_title_due_date_later - %li = link_to page_filter_path(sort: sort_value_upvotes) do = sort_title_upvotes - %li = link_to page_filter_path(sort: sort_value_downvotes) do = sort_title_downvotes |