Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ci/pipelines_helper.rb')
-rw-r--r--app/helpers/ci/pipelines_helper.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/helpers/ci/pipelines_helper.rb b/app/helpers/ci/pipelines_helper.rb
index a034e4331c0..510c7cd5fb6 100644
--- a/app/helpers/ci/pipelines_helper.rb
+++ b/app/helpers/ci/pipelines_helper.rb
@@ -78,10 +78,7 @@ module Ci
params: params.to_json,
artifacts_endpoint: downloadable_artifacts_project_pipeline_path(project, artifacts_endpoint_placeholder, format: :json),
artifacts_endpoint_placeholder: artifacts_endpoint_placeholder,
- pipeline_schedule_url: pipeline_schedules_path(project),
- empty_state_svg_path: image_path('illustrations/empty-state/empty-pipeline-md.svg'),
- error_state_svg_path: image_path('illustrations/pipelines_failed.svg'),
- no_pipelines_svg_path: image_path('illustrations/empty-state/empty-pipeline-md.svg'),
+ pipeline_schedules_path: pipeline_schedules_path(project),
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),