summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_pipelines_list.haml
blob: 16df743475d20faf8908375359cf60843e62d82a (plain)
1
2
3
4
5
6
7
8
9
10
11
- disable_initialization = local_assigns.fetch(:disable_initialization, false)
- artifacts_endpoint_placeholder = ':pipeline_artifacts_id'

#commit-pipeline-table-view{ data: { disable_initialization: disable_initialization,
  endpoint: endpoint,
  "empty-state-svg-path" => image_path('illustrations/pipelines_empty.svg'),
  "error-state-svg-path" => image_path('illustrations/pipelines_failed.svg'),
  "project-id": @project.id,
  "artifacts-endpoint" => downloadable_artifacts_project_pipeline_path(@project, artifacts_endpoint_placeholder, format: :json),
  "artifacts-endpoint-placeholder" => artifacts_endpoint_placeholder,
} }