You are here

automatic-updates-psa-notify.html.twig in Automatic Updates 8

Template for the public service announcements email notification.

Available variables:

  • messages: The messages array

File

templates/automatic-updates-psa-notify.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template for the public service announcements email notification.
  5. *
  6. * Available variables:
  7. * - messages: The messages array
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. <p>
  13. {% trans %}
  14. A security update will be made available soon for your Drupal site. To ensure the security of the site, you should prepare the site to immediately apply the update once it is released!
  15. {% endtrans %}
  16. </p>
  17. <p>
  18. {% set status_report = path('system.status') %}
  19. {% trans %}
  20. See the <a href="{{ status_report }}">site status report page</a> for more information.
  21. {% endtrans %}
  22. </p>
  23. <p>{{ 'Public service announcements:'|t }}</p>
  24. <ul>
  25. {% for message in messages %}
  26. <li>{{ message }}</li>
  27. {% endfor %}
  28. </ul>
  29. <p>
  30. {{ 'To see all PSAs, visit <a href="@uri">@uri</a>.'|t({'@uri': 'https://www.drupal.org/security/psa'}) }}
  31. </p>
  32. <p>
  33. {% set settings_link = path('automatic_updates.settings') %}
  34. {% trans %}
  35. Your site is currently configured to send these emails when a security update will be made available soon. To change how you are notified, you may <a href="{{ settings_link }}">configure email notifications</a>.
  36. {% endtrans %}
  37. </p>