diff options
Diffstat (limited to 'app/views/admin/dev_ops_report/show.html.haml')
-rw-r--r-- | app/views/admin/dev_ops_report/show.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/admin/dev_ops_report/show.html.haml b/app/views/admin/dev_ops_report/show.html.haml index 1892557d0d6..88105be70fb 100644 --- a/app/views/admin/dev_ops_report/show.html.haml +++ b/app/views/admin/dev_ops_report/show.html.haml @@ -1,5 +1,6 @@ - page_title _('DevOps Report') - usage_ping_enabled = Gitlab::CurrentSettings.usage_ping_enabled +- add_page_specific_style 'page_bundles/dev_ops_report' .container - if usage_ping_enabled && show_callout?('dev_ops_report_intro_callout_dismissed') @@ -7,7 +8,7 @@ .gl-mt-3 - if !usage_ping_enabled - #js-devops-empty-state{ data: { is_admin: current_user&.admin.to_s, empty_state_svg_path: image_path('illustrations/convdev/convdev_no_index.svg'), enable_usage_ping_link: metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings'), docs_link: help_page_path('development/telemetry/usage_ping') } } + #js-devops-empty-state{ data: { is_admin: current_user&.admin.to_s, empty_state_svg_path: image_path('illustrations/convdev/convdev_no_index.svg'), enable_usage_ping_link: metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings'), docs_link: help_page_path('development/product_analytics/usage_ping') } } - elsif @metric.blank? = render 'no_data' - else @@ -25,7 +26,7 @@ - @metric.cards.each do |card| = render 'card', card: card - .devops-steps.d-none.d-lg-block.d-xl-block + .devops-steps.d-none.d-lg-block - @metric.idea_to_production_steps.each_with_index do |step, index| .devops-step{ class: "devops-#{score_level(step.percentage_score)}-score" } = custom_icon("i2p_step_#{index + 1}") |