summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/index.html.haml
blob: f8627a3818b47aa4232c39619177947c0e2e9d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- @no_container = true
- page_title "Pipelines"

%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'),
    "new-pipeline-path" => new_project_pipeline_path(@project),
    "can-create-pipeline" => can?(current_user, :create_pipeline, @project).to_s,
    "all-path" =>  project_pipelines_path(@project),
    "pending-path" => project_pipelines_path(@project, scope: :pending),
    "running-path" => project_pipelines_path(@project, scope: :running),
    "finished-path" => project_pipelines_path(@project, scope: :finished),
    "branches-path" => project_pipelines_path(@project, scope: :branches),
    "tags-path" => project_pipelines_path(@project, scope: :tags),
    "has-ci" => @repository.gitlab_ci_yml,
    "ci-lint-path" => ci_lint_path } }

  = page_specific_javascript_bundle_tag('common_vue')
  = page_specific_javascript_bundle_tag('pipelines')