debian-mirror-gitlab/app/views/explore/projects/_nav.html.haml
2020-03-09 13:42:32 +05:30

17 lines
579 B
Text

.top-area
%ul.nav-links.nav.nav-tabs
= nav_link(page: [explore_projects_path, explore_root_path]) do
= link_to explore_projects_path do
= _('All')
= nav_link(page: starred_explore_projects_path) do
= link_to starred_explore_projects_path do
= _('Most stars')
= nav_link(page: trending_explore_projects_path) do
= link_to trending_explore_projects_path do
= _('Trending')
.nav-controls
- unless current_user
= render 'shared/projects/search_form'
= render 'shared/projects/dropdown'
= render 'filter'