index.html.haml 1.32 KB
Newer Older
Annabel Dunstone's avatar
Annabel Dunstone committed
1
- @no_container = true
Kamil Trzcinski's avatar
WIP  
Kamil Trzcinski committed
2
- page_title "Pipelines"
3
= render "projects/pipelines/head"
Kamil Trzcinski's avatar
WIP  
Kamil Trzcinski committed
4

5
%div{ 'class' => container_class }
6
  - if show_auto_devops_callout?(@project)
7
    = render 'shared/auto_devops_callout'
8 9 10
  #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'),
11 12
    "empty-state-svg-path" => image_path('illustrations/pipelines_empty.svg'),
    "error-state-svg-path" => image_path('illustrations/pipelines_failed.svg'),
13 14 15 16 17 18 19 20
    "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),
21
    "has-ci" => @repository.gitlab_ci_yml,
22 23 24 25
    "ci-lint-path" => ci_lint_path } }

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