2021-07-13 09:09:42 +00:00
|
|
|
- service_ping_enabled = Gitlab::CurrentSettings.usage_ping_enabled
|
2020-10-23 18:08:31 +00:00
|
|
|
|
2021-07-13 09:09:42 +00:00
|
|
|
- if !service_ping_enabled
|
2021-07-19 12:10:08 +00:00
|
|
|
#js-devops-service-ping-disabled{ data: { is_admin: current_user&.admin.to_s, empty_state_svg_path: image_path('illustrations/convdev/convdev_no_index.svg'), enable_service_ping_path: metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings'), docs_link: help_page_path('development/service_ping/index.md') } }
|
2020-10-26 15:08:40 +00:00
|
|
|
- else
|
2021-08-07 00:09:01 +00:00
|
|
|
#js-devops-score{ data: { devops_score_metrics: devops_score_metrics(@metric).to_json, no_data_image_path: image_path('dev_ops_report_no_data.svg'), devops_score_intro_image_path: image_path('dev_ops_report_overview.svg') } }
|