status-report-page.html.twig 812 B

12345678910111213141516171819202122232425262728
  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="system-status-report-counters__item{{ element_width_class }}">
  22. {{ counter }}
  23. </div>
  24. {% endfor %}
  25. </div>
  26. {{ general_info }}
  27. {{ requirements }}