summaryrefslogtreecommitdiff
path: root/app/views/projects/pipeline_schedules/index.html.haml
blob: ab86d505f0fc8e675f04ce2ef334293224da179a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
- breadcrumb_title _("Schedules")
- page_title _("Pipeline Schedules")
- add_page_specific_style 'page_bundles/pipeline_schedules'
- add_page_specific_style 'page_bundles/ci_status'

#pipeline-schedules-callout{ data: { docs_url: help_page_path('ci/pipelines/schedules'), illustration_url: image_path('illustrations/pipeline_schedule_callout.svg') } }

- if Feature.enabled?(:pipeline_schedules_vue, @project)
  #pipeline-schedules-app{ data: { full_path: @project.full_path, pipelines_path: project_pipelines_path(@project) } }
- else
  .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
    .nothing-here-block
      = _("No schedules")

  #pipeline-take-ownership-modal