Mercurial > hg > isophonics-drupal-site
diff core/modules/update/templates/update-report.html.twig @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/update/templates/update-report.html.twig Wed Nov 29 16:09:58 2017 +0000 @@ -0,0 +1,25 @@ +{# +/** + * @file + * Default theme implementation for the project status report. + * + * Available variables: + * - last_checked: Themed last time update data was checked. + * - no_updates_message: Message when there are no project updates. + * - project_types: A list of project types. + * - label: The project type label. + * - table: The project status table. + * + * @see template_preprocess_update_report() + * + * @ingroup themeable + */ +#} +{{ last_checked }} + +{% for project_type in project_types %} + <h3>{{ project_type.label }}</h3> + {{ project_type.table }} +{% else %} + <p>{{ no_updates_message }}</p> +{% endfor %}