debian-mirror-gitlab/app/views/projects/pipeline_schedules/index.html.haml

21 lines
867 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- breadcrumb_title _("Schedules")
2017-09-10 17:25:29 +05:30
- page_title _("Pipeline Schedules")
2021-01-29 00:20:46 +05:30
- add_page_specific_style 'page_bundles/pipeline_schedules'
2017-09-10 17:25:29 +05:30
2021-01-29 00:20:46 +05:30
#pipeline-schedules-callout{ data: { docs_url: help_page_path('ci/pipelines/schedules'), illustration_url: image_path('illustrations/pipeline_schedule_callout.svg') } }
2019-12-04 20:38:33 +05:30
.top-area
- schedule_path_proc = ->(scope) { pipeline_schedules_path(@project, scope: scope) }
= render "tabs", schedule_path_proc: schedule_path_proc, all_schedules: @all_schedules, scope: @scope
2017-08-17 22:00:37 +05:30
2019-12-04 20:38:33 +05:30
- if can?(current_user, :create_pipeline_schedule, @project)
.nav-controls
2021-03-11 19:13:27 +05:30
= link_to new_project_pipeline_schedule_path(@project), class: 'btn gl-button btn-success' do
2019-12-04 20:38:33 +05:30
%span= _('New schedule')
2017-08-17 22:00:37 +05:30
2019-12-04 20:38:33 +05:30
- if @schedules.present?
%ul.content-list
= render partial: "table"
- else
2021-03-08 18:12:59 +05:30
.card.bg-light.gl-mt-3
2019-12-04 20:38:33 +05:30
.nothing-here-block= _("No schedules")