Created requested, accepted and rejected email templates for requests

This commit is contained in:
2022-02-15 16:37:22 +00:00
parent 8d762c5dca
commit 7e2a6d1379
3 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
{% block subject %}
{{site.title}} - new membership requested
{% endblock %}
{% block body %}
<p>
Dear {{recipient.first_name}},
</p>
<p>
Someone has requested to join your organisation {{organisation.name}} at {{site.title}} ({{site.uri.public}}).
</p>
<p>
The requester details are:
<dl>
<dt>Requester name:</dt>
<dd>{{requester.full_name}}</dd>
<dt>Requester email:</dt>
<dd>{{requester.email}}</dd>
</dl>
</p>
<p>
You may verify or reject this request via the control dashboard (<a href="{{site.uri.public}}/organisations/o/{{organisation.slug}}">{{site.uri.public}}/organisations/o/{{organisation.slug}}</a>).
</p>
<p>
To accept this request immediately you may do so by visiting: <a href="{{site.uri.public}}/organisations/members/accept?token={{token}}">{{site.uri.public}}/organisations/members/accept?token={{token}}</a>.
</p>
<p>
To reject this request immediately you may do so by visiting: <a href="{{site.uri.public}}/organisations/members/reject?token={{token}}">{{site.uri.public}}/organisations/members/reject?token={{token}}</a>.
</p>
{% if approval_expiration %}
<p>
The approval period for this request will expire in {{approval_expiration}} at which point the request will be automatically rejected.
</p>
{% endif %}
<p>
With regards,<br>
The {{site.title}} Team
</p>
{% endblock %}