2017-05-07 18:35:56 -04:00
|
|
|
- content_for :page_specific_javascripts do
|
2017-05-10 17:26:50 -04:00
|
|
|
= webpack_bundle_tag 'common_vue'
|
|
|
|
= webpack_bundle_tag 'schedules_index'
|
2017-05-07 18:35:56 -04:00
|
|
|
|
|
|
|
- @no_container = true
|
|
|
|
- page_title "Pipeline Schedules"
|
|
|
|
= render "projects/pipelines/head"
|
|
|
|
|
|
|
|
%div{ class: container_class }
|
2017-05-22 04:49:44 -04:00
|
|
|
#pipeline-schedules-callout{ data: { docs_url: help_page_path('user/project/pipelines/schedules') } }
|
2017-05-07 18:35:56 -04:00
|
|
|
.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
|
|
|
|
|
|
|
|
.nav-controls
|
|
|
|
= link_to new_namespace_project_pipeline_schedule_path(@project.namespace, @project), class: 'btn btn-create' do
|
2017-05-22 04:49:44 -04:00
|
|
|
%span New schedule
|
2017-05-07 18:35:56 -04:00
|
|
|
|
|
|
|
- if @schedules.present?
|
|
|
|
%ul.content-list
|
|
|
|
= render partial: "table"
|
|
|
|
- else
|
|
|
|
.light-well
|
|
|
|
.nothing-here-block No schedules
|