Created requested, accepted and rejected email templates for requests
This commit is contained in:
16
templates/mail/organisation-membership-accepted.html.twig
Normal file
16
templates/mail/organisation-membership-accepted.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% block subject %}
|
||||
{{site.title}} - organisation registration approved
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<p>
|
||||
Dear {{recipient.first_name}},
|
||||
</p>
|
||||
<p>
|
||||
Your request to join the organisation {{organisation.name}} you submitted at {{site.title}} ({{site.uri.public}}) has been approved.
|
||||
</p>
|
||||
<p>
|
||||
With regards,<br>
|
||||
The {{site.title}} Team
|
||||
</p>
|
||||
{% endblock %}
|
||||
16
templates/mail/organisation-membership-rejected.html.twig
Normal file
16
templates/mail/organisation-membership-rejected.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% block subject %}
|
||||
{{site.title}} - organisation registration rejected
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<p>
|
||||
Dear {{recipient.first_name}},
|
||||
</p>
|
||||
<p>
|
||||
Your request to join the organisation {{organisation.name}} you submitted at {{site.title}} ({{site.uri.public}}) has been rejected.
|
||||
</p>
|
||||
<p>
|
||||
With regards,<br>
|
||||
The {{site.title}} Team
|
||||
</p>
|
||||
{% endblock %}
|
||||
40
templates/mail/organisation-membership-request.html.twig
Normal file
40
templates/mail/organisation-membership-request.html.twig
Normal 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 %}
|
||||
Reference in New Issue
Block a user