debian-mirror-gitlab/app/views/projects/pipelines/_head.html.haml

35 lines
1.5 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'
2017-08-17 22:00:37 +05:30
.nav-links.sub-nav.scrolling-tabs
2016-11-03 12:29:30 +05:30
%ul{ class: (container_class) }
- if project_nav_tab? :pipelines
2017-08-17 22:00:37 +05:30
= nav_link(path: ['pipelines#index', 'pipelines#show']) do
2016-11-03 12:29:30 +05:30
= link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do
%span
Pipelines
2016-11-03 12:29:30 +05:30
- if project_nav_tab? :builds
2017-09-10 17:25:29 +05:30
= nav_link(controller: [:jobs, :artifacts]) do
= link_to project_jobs_path(@project), title: 'Jobs', class: 'shortcuts-builds' do
2016-11-03 12:29:30 +05:30
%span
2017-08-17 22:00:37 +05:30
Jobs
- if project_nav_tab? :pipelines
= nav_link(controller: :pipeline_schedules) do
= link_to pipeline_schedules_path(@project), title: 'Schedules', class: 'shortcuts-builds' do
%span
Schedules
2016-11-03 12:29:30 +05:30
- if project_nav_tab? :environments
2017-08-17 22:00:37 +05:30
= nav_link(controller: :environments) do
2016-11-03 12:29:30 +05:30
= link_to project_environments_path(@project), title: 'Environments', class: 'shortcuts-environments' do
%span
Environments
2016-09-29 09:46:39 +05:30
2017-08-17 22:00:37 +05:30
- if @project.feature_available?(:builds, current_user) && !@project.empty_repo?
= nav_link(path: 'pipelines#charts') do
2017-09-10 17:25:29 +05:30
= link_to charts_project_pipelines_path(@project), title: 'Charts', class: 'shortcuts-pipelines-charts' do
2016-11-03 12:29:30 +05:30
%span
2017-08-17 22:00:37 +05:30
Charts