You are here

automatic-updates-post-update.html.twig in Automatic Updates 8

Template for the post update email notification.

Available variables:

  • success: The update success status
  • metadata: The update metadata

File

templates/automatic-updates-post-update.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template for the post update email notification.
  5. *
  6. * Available variables:
  7. * - success: The update success status
  8. * - metadata: The update metadata
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. <p>
  14. {% if success %}
  15. {{ 'The project "@project" was updated from "@from_version" to "@to_version" with success.'|t({
  16. '@project': metadata.getProjectName,
  17. '@from_version': metadata.getFromVersion,
  18. '@to_version': metadata.getToVersion,
  19. }) }}
  20. {% else %}
  21. {{ 'The project "@project" was updated from "@from_version" to "@to_version" with failures.'|t({
  22. '@project': metadata.getProjectName,
  23. '@from_version': metadata.getFromVersion,
  24. '@to_version': metadata.getToVersion,
  25. }) }}
  26. {% endif %}
  27. </p>
  28. <p>
  29. {% set status_report = path('system.status') %}
  30. {% trans %}
  31. See the <a href="{{ status_report }}">site status report page</a> and any logs for more information.
  32. {% endtrans %}
  33. </p>