2016-06-16 23:09:34 +05:30
|
|
|
- @no_container = true
|
2016-06-02 11:05:42 +05:30
|
|
|
- page_title "Pipelines"
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
%div{ 'class' => container_class }
|
|
|
|
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
|
|
|
|
"help-page-path" => help_page_path('ci/quick_start/README'),
|
|
|
|
"help-auto-devops-path" => help_page_path('topics/autodevops/index.md'),
|
|
|
|
"empty-state-svg-path" => image_path('illustrations/pipelines_empty.svg'),
|
|
|
|
"error-state-svg-path" => image_path('illustrations/pipelines_failed.svg'),
|
2018-03-27 19:54:05 +05:30
|
|
|
"no-pipelines-svg-path" => image_path('illustrations/pipelines_pending.svg'),
|
2018-03-17 18:26:18 +05:30
|
|
|
"can-create-pipeline" => can?(current_user, :create_pipeline, @project).to_s,
|
2018-03-27 19:54:05 +05:30
|
|
|
"new-pipeline-path" => can?(current_user, :create_pipeline, @project) && new_project_pipeline_path(@project),
|
2018-05-09 12:01:36 +05:30
|
|
|
"ci-lint-path" => can?(current_user, :create_pipeline, @project) && project_ci_lint_path(@project),
|
2018-03-27 19:54:05 +05:30
|
|
|
"reset-cache-path" => can?(current_user, :admin_pipeline, @project) && reset_cache_project_settings_ci_cd_path(@project) ,
|
|
|
|
"has-gitlab-ci" => (@project.has_ci? && @project.builds_enabled?).to_s } }
|