Add sending of html email for the request

This commit is contained in:
Tom Price
2017-05-09 18:34:47 +01:00
parent 331dab20f7
commit f57ac3acb1
8 changed files with 169 additions and 10 deletions

View File

@@ -1,12 +1,16 @@
Hi there,
Hi {{ to_name|default:"there" }},
{{request.user.get_full_name}} has requested that you authorise N{{object.pk|stringformat:"05d"}} | {{object.name}}.
{{ request.user.get_full_name }} has requested that you authorise N{{ object.pk|stringformat:"05d" }}| {{ object.name }}{% if not to_name %} on behalf of {{ object.person.name }}{% 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 %}
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 %}
{{ request.scheme }}://{{ request.get_host }}{% url 'event_authorise' object.pk hmac %}
The TEC Rig Information Gathering System
Please note you event will not be booked until you complete this form.
TEC PA & Lighting