You are here

update-report.html.twig in Drupal 10

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.

File

core/modules/update/templates/update-report.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  16. */
  17. #}
  18. {{ last_checked }}
  19. {% for project_type in project_types %}
  20. <h3>{{ project_type.label }}</h3>
  21. {{ project_type.table }}
  22. {% else %}
  23. <p>{{ no_updates_message }}</p>
  24. {% endfor %}

Related topics