debian-mirror-gitlab/app/views/admin/dashboard/_head.html.haml

34 lines
1.2 KiB
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
= content_for :sub_nav do
.scrolling-tabs-container.sub-nav-scroll
= render 'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul{ class: (container_class) }
= nav_link(controller: :dashboard, html_options: {class: 'home'}) do
= link_to admin_root_path, title: 'Overview' do
%span
Overview
= nav_link(controller: [:admin, :projects]) do
2017-08-17 22:00:37 +05:30
= link_to admin_projects_path, title: 'Projects' do
2016-11-03 12:29:30 +05:30
%span
Projects
= nav_link(controller: :users) do
= link_to admin_users_path, title: 'Users' do
%span
Users
= nav_link(controller: :groups) do
= link_to admin_groups_path, title: 'Groups' do
%span
Groups
= nav_link path: 'builds#index' do
2017-08-17 22:00:37 +05:30
= link_to admin_builds_path, title: 'Jobs' do
2016-11-03 12:29:30 +05:30
%span
2017-08-17 22:00:37 +05:30
Jobs
2016-11-03 12:29:30 +05:30
= nav_link path: ['runners#index', 'runners#show'] do
= link_to admin_runners_path, title: 'Runners' do
%span
Runners
2017-08-17 22:00:37 +05:30
= nav_link path: 'cohorts#index' do
= link_to admin_cohorts_path, title: 'Cohorts' do
%span
Cohorts