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

22 lines
707 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
%ul.nav.nav-sidebar
2015-09-25 12:07:36 +05:30
= nav_link(path: ['dashboard#show', 'root#show', 'projects#trending', 'projects#starred', 'projects#index'], html_options: {class: 'home'}) do
2015-12-23 02:04:40 +05:30
= link_to explore_root_path, title: 'Projects' do
2015-09-25 12:07:36 +05:30
= icon('home fw')
%span
Projects
2015-09-11 14:41:01 +05:30
= nav_link(controller: :groups) do
2015-12-23 02:04:40 +05:30
= link_to explore_groups_path, title: 'Groups' do
2015-09-11 14:41:01 +05:30
= icon('group fw')
2015-09-25 12:07:36 +05:30
%span
Groups
= nav_link(controller: :snippets) do
2015-12-23 02:04:40 +05:30
= link_to explore_snippets_path, title: 'Snippets' do
2015-09-25 12:07:36 +05:30
= icon('clipboard fw')
%span
Snippets
= nav_link(controller: :help) do
2015-12-23 02:04:40 +05:30
= link_to help_path, title: 'Help' do
2015-09-25 12:07:36 +05:30
= icon('question-circle fw')
%span
Help