You are here

update-report.html.twig in PatchInfo 8.2

Same filename and directory in other branches
  1. 8 templates/update-report.html.twig

PatchInfo theme implementation for the project status report.

Available variables:

  • last_checked: Themed last time update data was checked.
  • excluded_modules: List of modules excluded from update check.
  • 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

templates/update-report.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * PatchInfo theme implementation for the project status report.
  5. *
  6. * Available variables:
  7. * - last_checked: Themed last time update data was checked.
  8. * - excluded_modules: List of modules excluded from update check.
  9. * - no_updates_message: Message when there are no project updates.
  10. * - project_types: A list of project types.
  11. * - label: The project type label.
  12. * - table: The project status table.
  13. *
  14. * @see template_preprocess_update_report()
  15. * @see patchinfo_preprocess_update_report()
  16. *
  17. * @ingroup themeable
  18. */
  19. #}
  20. {{ last_checked }}
  21. {{ excluded_modules }}
  22. {% for project_type in project_types %}
  23. <h3>{{ project_type.label }}</h3>
  24. {{ project_type.table }}
  25. {% else %}
  26. <p>{{ no_updates_message }}</p>
  27. {% endfor %}