debian-mirror-gitlab/app/views/layouts/explore.html.haml

31 lines
1.1 KiB
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- page_title = 'Explore'
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: page_title
2015-04-26 12:48:37 +05:30
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
2014-09-02 18:07:02 +05:30
= render "layouts/broadcast"
- if current_user
2015-04-26 12:48:37 +05:30
= render "layouts/head_panel", title: link_to(page_title, explore_root_path)
2014-09-02 18:07:02 +05:30
- else
2015-04-26 12:48:37 +05:30
= render "layouts/public_head_panel", title: link_to(page_title, explore_root_path)
2014-09-02 18:07:02 +05:30
.container.navless-container
.content
.explore-title
%h3
Explore GitLab
%p.lead
Discover projects and groups. Share your projects with others
%ul.nav.nav-tabs
= nav_link(path: 'projects#trending') do
= link_to 'Trending Projects', explore_root_path
= nav_link(path: 'projects#starred') do
= link_to 'Most Starred Projects', starred_explore_projects_path
= nav_link(path: 'projects#index') do
= link_to 'All Projects', explore_projects_path
= nav_link(controller: :groups) do
= link_to 'All Groups', explore_groups_path
= yield