Security update to Drupal 8.4.6
[yaffs-website] / web / core / modules / system / templates / status-report.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for the status report.
5   *
6   * Available variables:
7   * - grouped_requirements: Contains grouped requirements.
8   *   Each group contains:
9   *   - title: The title of the group.
10   *   - type: The severity of the group.
11   *   - items: The requirement instances.
12   *     Each requirement item contains:
13   *     - title: The title of the requirement.
14   *     - value: (optional) The requirement's status.
15   *     - description: (optional) The requirement's description.
16   *     - severity_title: The title of the severity.
17   *     - severity_status: Indicates the severity status.
18   * - requirements: Ungrouped requirements
19   *
20   * @ingroup themeable
21   */
22  #}
23 {% for group in grouped_requirements %}
24   <h3 id="{{ group.type }}">{{ group.title }}</h3>
25   {% for requirement in group.items %}
26     <details>
27       <summary role="button">
28         {% if requirement.severity_title  %}
29           <span class="visually-hidden">{{ requirement.severity_title }}</span>
30         {% endif %}
31         {{ requirement.title }}
32       </summary>
33       {{ requirement.value }}
34       {% if requirement.description %}
35         <div>{{ requirement.description }}</div>
36       {% endif %}
37     </details>
38   {% endfor %}
39 {% endfor %}