update-report.html.twig

Same filename in this branch
  1. 9 core/themes/stable/templates/admin/update-report.html.twig
  2. 9 core/modules/update/templates/update-report.html.twig
Same filename in other branches
  1. 8.9.x core/themes/stable/templates/admin/update-report.html.twig
  2. 8.9.x core/modules/update/templates/update-report.html.twig
  3. 10 core/themes/stable9/templates/admin/update-report.html.twig
  4. 10 core/modules/update/templates/update-report.html.twig
  5. 11.x core/themes/stable9/templates/admin/update-report.html.twig
  6. 11.x core/modules/update/templates/update-report.html.twig

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

template_preprocess_update_report()

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/stable9/templates/admin/update-report.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the project status report.
  5. *
  6. * Available variables:
  7. * - last_checked: Themed last time update data was checked.
  8. * - no_updates_message: Message when there are no project updates.
  9. * - project_types: A list of project types.
  10. * - label: The project type label.
  11. * - table: The project status table.
  12. *
  13. * @see template_preprocess_update_report()
  14. */
  15. #}
  16. {{ last_checked }}
  17. {% for project_type in project_types %}
  18. <h3>{{ project_type.label }}</h3>
  19. {{ project_type.table }}
  20. {% else %}
  21. <p>{{ no_updates_message }}</p>
  22. {% endfor %}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.