debian-mirror-gitlab/app/views/projects/pipelines/index.html.haml

21 lines
1.2 KiB
Text
Raw Normal View History

2019-07-07 11:18:12 +05:30
- page_title _('Pipelines')
2021-01-03 14:25:43 +05:30
- add_page_specific_style 'page_bundles/pipelines'
2021-01-29 00:20:46 +05:30
- add_page_specific_style 'page_bundles/ci_status'
2019-07-07 11:18:12 +05:30
= render_if_exists "shared/shared_runners_minutes_limit_flash_message"
2019-12-04 20:38:33 +05:30
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
2020-05-24 23:13:21 +05:30
project_id: @project.id,
2020-06-23 00:09:42 +05:30
params: params.to_json,
2019-12-04 20:38:33 +05:30
"help-page-path" => help_page_path('ci/quick_start/README'),
2021-02-22 17:27:13 +05:30
"auto-devops-help-path" => help_page_path('topics/autodevops/index.md'),
2020-07-28 23:09:34 +05:30
"pipeline-schedule-url" => pipeline_schedules_path(@project),
2019-12-04 20:38:33 +05:30
"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),
"reset-cache-path" => can?(current_user, :admin_pipeline, @project) && reset_cache_project_settings_ci_cd_path(@project) ,
2021-03-08 18:12:59 +05:30
"has-gitlab-ci" => has_gitlab_ci?(@project).to_s } }