debian-mirror-gitlab/app/views/explore/projects/_nav.html.haml

12 lines
519 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.top-area
2021-12-11 22:18:48 +05:30
= gl_tabs_nav({ class: 'gl-display-flex gl-flex-grow-1 gl-border-none'}) do
= gl_tab_link_to _('All'), explore_projects_path, { item_active: current_page?(explore_projects_path) || current_page?(explore_root_path) }
= gl_tab_link_to _('Most stars'), starred_explore_projects_path
= gl_tab_link_to _('Trending'), trending_explore_projects_path
2017-08-17 22:00:37 +05:30
.nav-controls
- unless current_user
= render 'shared/projects/search_form'
= render 'shared/projects/dropdown'
= render 'filter'