index.html.haml 1.29 KB
Newer Older
1
- page_title _('Pipelines')
2
- add_page_specific_style 'page_bundles/pipelines'
Payton Burdette's avatar
Payton Burdette committed
3
- add_page_specific_style 'page_bundles/ci_status'
4

5
= render_if_exists "shared/shared_runners_minutes_limit_flash_message"
6

7
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
8
  project_id: @project.id,
pburdette's avatar
pburdette committed
9
  params: params.to_json,
10
  "pipeline-schedule-url" => pipeline_schedules_path(@project),
11 12 13 14 15 16
  "empty-state-svg-path" => image_path('illustrations/pipelines_empty.svg'),
  "error-state-svg-path" => image_path('illustrations/pipelines_failed.svg'),
  "no-pipelines-svg-path" => image_path('illustrations/pipelines_pending.svg'),
  "can-create-pipeline" => can?(current_user, :create_pipeline, @project).to_s,
  "new-pipeline-path" => can?(current_user, :create_pipeline, @project) && new_project_pipeline_path(@project),
  "ci-lint-path" => can?(current_user, :create_pipeline, @project) && project_ci_lint_path(@project),
17 18
  "reset-cache-path" => can?(current_user, :admin_pipeline, @project) && reset_cache_project_settings_ci_cd_path(@project),
  "has-gitlab-ci" => has_gitlab_ci?(@project).to_s,
19 20
  "add-ci-yml-path" => can?(current_user, :create_pipeline, @project) && @project.present(current_user: current_user).add_ci_yml_path,
  "suggested-ci-templates" => experiment_suggested_ci_templates.to_json } }