mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-30 11:52:17 +00:00
Add sending of html email for the request
This commit is contained in:
32
RIGS/templates/RIGS/eventauthorisation_client_request.html
Normal file
32
RIGS/templates/RIGS/eventauthorisation_client_request.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{% extends 'base_client_email.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="col-sm-12">
|
||||
<p>Hi {{ to_name|default:"there" }},</p>
|
||||
|
||||
<p>{{ 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 %}.</p>
|
||||
|
||||
<p>
|
||||
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 %}
|
||||
</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-sm-offset-3 text-center">
|
||||
<a class="btn btn-primary"
|
||||
href="{{ request.scheme }}://{{ request.get_host }}{% url 'event_authorise' object.pk hmac %}">
|
||||
Complete Authorisation Form
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Please note you event will not be booked until you complete this form.</p>
|
||||
|
||||
<p>TEC PA & Lighting</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user