update-report.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Theme override 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 also
1 theme call to update-report.html.twig
- UpdateController::updateStatus in core/
modules/ update/ src/ Controller/ UpdateController.php - Returns a page about the update status of projects.
File
core/themes/stable/templates/admin/update-report.html.twigView source
- {#
- /**
- * @file
- * Theme override 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()
- */
- #}
- {{ last_checked }}
-
- {% for project_type in project_types %}
- <h3>{{ project_type.label }}</h3>
- {{ project_type.table }}
- {% else %}
- <p>{{ no_updates_message }}</p>
- {% endfor %}