You are here

update-report.html.twig in Drupal 10

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.

File

core/themes/stable/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 %}