You are here

check_evaluation.html.twig in Security Review 8

Default evaluation page template for checks.

Available variables:

  • paragraphs: Array of paragraphs (strings) to show before the list.
  • items: Array of items (strings) to show in an unordered list after the paragraphs.

File

templates/check_evaluation.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default evaluation page template for checks.
  5. *
  6. * Available variables:
  7. * - paragraphs: Array of paragraphs (strings) to show before the list.
  8. * - items: Array of items (strings) to show in an unordered list after the paragraphs.
  9. */
  10. #}
  11. {% for paragraph in paragraphs %}
  12. <p>
  13. {{ paragraph }}
  14. </p>
  15. {% endfor %}
  16. {% if items is not empty %}
  17. <ul>
  18. {% for item in items %}
  19. <li>{{ item }}</li>
  20. {% endfor %}
  21. </ul>
  22. {% endif %}