2021-11-11 11:23:49 +05:30
|
|
|
- breadcrumb_title _('Schedules')
|
2017-09-10 17:25:29 +05:30
|
|
|
- @breadcrumb_link = namespace_project_pipeline_schedules_path(@project.namespace, @project)
|
|
|
|
- page_title _("New Pipeline Schedule")
|
2021-01-29 00:20:46 +05:30
|
|
|
- add_page_specific_style 'page_bundles/pipeline_schedules'
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
- add_to_breadcrumbs("Pipelines", project_pipelines_path(@project))
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
%h1.page-title.gl-font-size-h-display
|
2017-09-10 17:25:29 +05:30
|
|
|
= _("Schedule a new pipeline")
|
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-04 22:38:38 +05:30
|
|
|
#pipeline-schedules-form-new{ data: { full_path: @project.full_path, cron: @schedule.cron, daily_limit: @schedule.daily_limit, timezone_data: timezone_data.to_json, cron_timezone: @schedule.cron_timezone, project_id: @project.id, default_branch: @project.default_branch, settings_link: project_settings_ci_cd_path(@project), } }
|
2022-11-25 23:54:43 +05:30
|
|
|
- else
|
|
|
|
= render "form"
|