claro-8.x-1.x-dev/templates/status-report-page.html.twig

templates/status-report-page.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{#
/**
 * @file
 * 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 template_preprocess_status_report()
 */
#}
{% if counters|length == 3 %}
  {% set element_width_class = ' system-status-report-counters__item--third-width' %}
{% elseif counters|length == 2 %}
  {% set element_width_class = ' system-status-report-counters__item--half-width' %}
{% endif %}
<div class="system-status-report-counters">
  {% for counter in counters %}
    <div class="system-status-report-counters__item{{ element_width_class }}">
      {{ counter }}
    </div>
  {% endfor %}
</div>
 
{{ general_info }}
{{ requirements }}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc