Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « pipeline_schedules « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0580c15ad15555918e75c5c399b43578741778d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- breadcrumb_title _("Schedules")

- @no_container = true
- page_title _("Pipeline Schedules")

%div{ class: container_class }
  #pipeline-schedules-callout{ data: { docs_url: help_page_path('user/project/pipelines/schedules') } }
  .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 btn-success' do
          %span= _('New schedule')

  - if @schedules.present?
    %ul.content-list
      = render partial: "table"
  - else
    .card.bg-light
      .nothing-here-block= _("No schedules")