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

16 lines
849 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
2018-11-18 11:00:15 +05:30
= link_to explore_root_path, title: _('Projects'), class: 'dashboard-shortcuts-projects' do
= _('Projects')
2018-03-27 19:54:05 +05:30
- if explore_nav_link?(:groups)
= nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do
2018-11-18 11:00:15 +05:30
= link_to explore_groups_path, title: _('Groups'), class: 'dashboard-shortcuts-groups' do
= _('Groups')
2018-03-27 19:54:05 +05:30
- if explore_nav_link?(:snippets)
= nav_link(controller: :snippets) do
2018-11-18 11:00:15 +05:30
= link_to explore_snippets_path, title: _('Snippets'), class: 'dashboard-shortcuts-snippets' do
= _('Snippets')
2018-03-17 18:26:18 +05:30
%li
2018-11-18 11:00:15 +05:30
= link_to _("Help"), help_path, title: _('About GitLab CE')