FEAT #513: Implement email reminders to complete risk assessments (#514)

* FEAT #513: Implement email reminders to complete risk assessments

* Add missing f-string tag
This commit is contained in:
2022-11-19 15:34:15 +00:00
committed by GitHub
parent 37101d3340
commit 0117091f3e
14 changed files with 79 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
Hi {{ to_name|default:"there" }},
{{ request.user.get_full_name }} has requested that you authorise N{{ object.pk|stringformat:"05d" }}| {{ object.name }}{% if not to_name %} on behalf of {% if object.person %}{{ object.person.name }}{% else %}{{ object.organisation.name }}{% endif %}{% endif %}.
Please find the link below to complete the event booking process.
{% if object.event.organisation and object.event.organisation.union_account %}{# internal #}
Remember that only Presidents or Treasurers are allowed to sign off payments. You may need to forward
this
email on.
{% endif %}
{{ request.scheme }}://{{ request.get_host }}{% url 'event_authorise' object.pk hmac %}
Please note you event will not be booked until you complete this form.
TEC PA & Lighting