6accad69e2
Un-nest title variable output Update spec test names Rename sort_value_most_stars -> sort_value_stars_desc Rename sorted_by_stars -> sorted_by_stars_desc Renname sort_value_most_stars_asc -> sort_value_stars_asc Invert feature check, assign feature condition to a variable Inline conditional nav bar rendering Invert conditional label Added follow up task Fix filters returning 0 projects show the wrong view Move click action out of test expectation Use proper variable name for project in before block Rename projects_sort_admin_options_hash Renamed projects_sort_admin_options_has to old_projects_sort_options_hash as its not only used on the admin screen Fix extra whitespace errors Stub project_list_filter_bar in the projects_helper specs Added follow up task for `show_projects?` Removed url test expectations
17 lines
579 B
Text
17 lines
579 B
Text
.top-area
|
|
%ul.nav-links.nav.nav-tabs
|
|
= nav_link(page: [trending_explore_projects_path, explore_root_path]) do
|
|
= link_to trending_explore_projects_path do
|
|
= _('Trending')
|
|
= nav_link(page: starred_explore_projects_path) do
|
|
= link_to starred_explore_projects_path do
|
|
= _('Most stars')
|
|
= nav_link(page: explore_projects_path) do
|
|
= link_to explore_projects_path do
|
|
= _('All')
|
|
|
|
.nav-controls
|
|
- unless current_user
|
|
= render 'shared/projects/search_form'
|
|
= render 'shared/projects/dropdown'
|
|
= render 'filter'
|