view core/modules/system/templates/maintenance-task-list.html.twig @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
{#
/**
 * @file
 * Default theme implementation for a list of maintenance tasks to perform.
 *
 * Available variables:
 * - tasks: A list of maintenance tasks to perform. Each item in the list has
 *   the following variables:
 *   - item: The maintenance task.
 *   - attributes: HTML attributes for the maintenance task.
 *   - status: (optional) Text describing the status of the maintenance task,
 *     'active' or 'done'.
 *
 * @ingroup themeable
 */
#}
<h2 class="visually-hidden">{{ 'Installation tasks'|t }}</h2>
<ol class="task-list">
{% for task in tasks %}
  <li{{ task.attributes }}>
    {{ task.item }}
    {% if task.status %}<span class="visually-hidden"> ({{ task.status }})</span>{% endif %}
  </li>
{% endfor %}
</ol>