You are here

status-report-page.html.twig in Drupal 10

Theme override for the status report page.

Available variables:

  • counters: The list of counter elements.
  • general_info: A render array to create general info element.
  • requirements: A render array to create requirements table.

See also

template_preprocess_status_report()

File

core/themes/claro/templates/status-report-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the status report page.
  5. *
  6. * Available variables:
  7. * - counters: The list of counter elements.
  8. * - general_info: A render array to create general info element.
  9. * - requirements: A render array to create requirements table.
  10. *
  11. * @see template_preprocess_status_report()
  12. */
  13. #}
  14. {% if counters|length == 3 %}
  15. {% set element_width_class = ' system-status-report-counters__item--third-width' %}
  16. {% elseif counters|length == 2 %}
  17. {% set element_width_class = ' system-status-report-counters__item--half-width' %}
  18. {% endif %}
  19. <div class="system-status-report-counters">
  20. {% for counter in counters %}
  21. <div class="card system-status-report-counters__item{{ element_width_class }}">
  22. {{ counter }}
  23. </div>
  24. {% endfor %}
  25. </div>
  26. {{ general_info }}
  27. {{ requirements }}