debian-mirror-gitlab/app/views/layouts/nav/_explore.html.haml

16 lines
813 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
%ul.list-unstyled.navbar-sub-nav
2018-03-27 19:54:05 +05:30
- if explore_nav_link?(:projects)
= nav_link(path: ['dashboard#show', 'root#show', 'projects#trending', 'projects#starred', 'projects#index'], html_options: {class: 'home'}) do
= link_to explore_root_path, title: 'Projects', class: 'dashboard-shortcuts-projects' do
Projects
- if explore_nav_link?(:groups)
= nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do
= link_to explore_groups_path, title: 'Groups', class: 'dashboard-shortcuts-groups' do
Groups
- if explore_nav_link?(:snippets)
= nav_link(controller: :snippets) do
= link_to explore_snippets_path, title: 'Snippets', class: 'dashboard-shortcuts-snippets' do
Snippets
2018-03-17 18:26:18 +05:30
%li
= link_to "Help", help_path, title: 'About GitLab CE'