Mercurial > hg > isophonics-drupal-site
view core/modules/system/templates/status-report-page.html.twig @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation 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 }}