diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/ci/pipelines_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/clusters_helper.rb | 6 | ||||
-rw-r--r-- | app/helpers/ide_helper.rb | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/app/helpers/ci/pipelines_helper.rb b/app/helpers/ci/pipelines_helper.rb index 90c89f04dc7..6b15f0c9e20 100644 --- a/app/helpers/ci/pipelines_helper.rb +++ b/app/helpers/ci/pipelines_helper.rb @@ -91,7 +91,7 @@ module Ci 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/pipelines_empty.svg'), + 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/pipelines_pending.svg'), can_create_pipeline: can?(current_user, :create_pipeline, project).to_s, diff --git a/app/helpers/clusters_helper.rb b/app/helpers/clusters_helper.rb index b2ae1386727..b1d61474700 100644 --- a/app/helpers/clusters_helper.rb +++ b/app/helpers/clusters_helper.rb @@ -64,7 +64,11 @@ module ClustersHelper when 'apps' render 'applications' when 'integrations' - render 'integrations' + if Feature.enabled?(:remove_monitor_metrics) + render('details', expanded: expanded) + else + render 'integrations' + end when 'settings' render 'advanced_settings_container' else diff --git a/app/helpers/ide_helper.rb b/app/helpers/ide_helper.rb index 0112dc6a35e..448909543c4 100644 --- a/app/helpers/ide_helper.rb +++ b/app/helpers/ide_helper.rb @@ -43,7 +43,7 @@ module IdeHelper 'empty-state-svg-path' => image_path('illustrations/multi_file_editor_empty.svg'), 'no-changes-state-svg-path' => image_path('illustrations/multi-editor_no_changes_empty.svg'), 'committed-state-svg-path' => image_path('illustrations/multi-editor_all_changes_committed_empty.svg'), - 'pipelines-empty-state-svg-path': image_path('illustrations/pipelines_empty.svg'), + 'pipelines-empty-state-svg-path': image_path('illustrations/empty-state/empty-pipeline-md.svg'), 'switch-editor-svg-path': image_path('illustrations/rocket-launch-md.svg'), 'promotion-svg-path': image_path('illustrations/web-ide_promotion.svg'), 'ci-help-page-path' => help_page_path('ci/quick_start/index'), |