gitlab-org--gitlab-foss/app/views/explore/projects/_nav.html.haml
Tao Wang cb728c536a
i18n: externalize strings from 'app/views/explore'
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-07-10 19:07:30 +10:00

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'