automatic-updates-psa-notify.html.twig in Automatic Updates 8
Template for the public service announcements email notification.
Available variables:
- messages: The messages array
1 theme call to automatic-updates-psa-notify.html.twig
- Notify::send in src/
Services/ Notify.php - Send notification when PSAs are available.
File
templates/automatic-updates-psa-notify.html.twigView source
- {#
- /**
- * @file
- * Template for the public service announcements email notification.
- *
- * Available variables:
- * - messages: The messages array
- *
- * @ingroup themeable
- */
- #}
-
- <p>
- {% trans %}
- 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!
- {% endtrans %}
- </p>
- <p>
- {% set status_report = path('system.status') %}
- {% trans %}
- See the <a href="{{ status_report }}">site status report page</a> for more information.
- {% endtrans %}
- </p>
- <p>{{ 'Public service announcements:'|t }}</p>
- <ul>
- {% for message in messages %}
- <li>{{ message }}</li>
- {% endfor %}
- </ul>
- <p>
- {{ 'To see all PSAs, visit <a href="@uri">@uri</a>.'|t({'@uri': 'https://www.drupal.org/security/psa'}) }}
- </p>
- <p>
- {% set settings_link = path('automatic_updates.settings') %}
- {% trans %}
- 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>.
- {% endtrans %}
- </p>