summaryrefslogtreecommitdiff
path: root/app/views/explore/projects/_nav.html.haml
blob: bf65c19b72088d2f439e5156d08f6df3bb28b1e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.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'