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'
|
2022-11-25 23:54:43 +05:30
|
|
|
- add_page_specific_style 'page_bundles/ci_status'
|
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') } }
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2022-11-25 23:54:43 +05:30
|
|
|
- if Feature.enabled?(:pipeline_schedules_vue, @project)
|
2023-03-17 16:20:25 +05:30
|
|
|
#pipeline-schedules-app{ data: { full_path: @project.full_path, pipelines_path: project_pipelines_path(@project) } }
|
2019-12-04 20:38:33 +05:30
|
|
|
- else
|
2022-11-25 23:54:43 +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
|
|
|
|
|
|
|
|
- if can?(current_user, :create_pipeline_schedule, @project)
|
|
|
|
.nav-controls
|
|
|
|
= link_to new_project_pipeline_schedule_path(@project), class: 'btn gl-button btn-confirm' do
|
|
|
|
%span= _('New schedule')
|
|
|
|
|
|
|
|
- if @schedules.present?
|
|
|
|
%ul.content-list
|
|
|
|
= render partial: "table"
|
|
|
|
- else
|
2023-03-04 22:38:38 +05:30
|
|
|
.nothing-here-block
|
|
|
|
= _("No schedules")
|
2022-08-27 11:52:29 +05:30
|
|
|
|
2022-11-25 23:54:43 +05:30
|
|
|
#pipeline-take-ownership-modal
|