Organisation registration process implemented with configurable approval workflow
This commit is contained in:
16
templates/mail/organisation-approval-approved.html.twig
Normal file
16
templates/mail/organisation-approval-approved.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>
|
||||
The organisation registration request 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-approval-rejected.html.twig
Normal file
16
templates/mail/organisation-approval-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>
|
||||
The organisation registration request you submitted at {{site.title}} ({{site.uri.public}}) has been rejected.
|
||||
</p>
|
||||
<p>
|
||||
With regards,<br>
|
||||
The {{site.title}} Team
|
||||
</p>
|
||||
{% endblock %}
|
||||
46
templates/mail/organisation-approval-request.html.twig
Normal file
46
templates/mail/organisation-approval-request.html.twig
Normal file
@@ -0,0 +1,46 @@
|
||||
{% block subject %}
|
||||
{{site.title}} - new organisation requires approval
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<p>
|
||||
Dear {{recipient.first_name}},
|
||||
</p>
|
||||
<p>
|
||||
Someone has created a new organisation which requires approving at {{site.title}} ({{site.uri.public}}).
|
||||
</p>
|
||||
<p>
|
||||
The organisation details are:
|
||||
<dl>
|
||||
<dt>Requester name:</dt>
|
||||
<dd>{{requester.full_name}}</dd>
|
||||
|
||||
<dt>Requester email:</dt>
|
||||
<dd>{{requester.email}}</dd>
|
||||
|
||||
<dt>Organisation name:</dt>
|
||||
<dd>{{organisation.name}}</dd>
|
||||
|
||||
<dt>Organisation description:</dt>
|
||||
<dd>{{organisation.description}}</dd>
|
||||
|
||||
</p>
|
||||
<p>
|
||||
You may verify or reject this organisation via the control dashboard (<a href="{{site.uri.public}}/organisations">{{site.uri.public}}/organisations</a>).
|
||||
</p>
|
||||
<p>
|
||||
To verify this organisation immediately you may do so by visiting: <a href="{{site.uri.public}}/organisations/approve?token={{token}}">{{site.uri.public}}/organisations/approve?token={{token}}</a>.
|
||||
</p>
|
||||
<p>
|
||||
To reject this organisation immediately you may do so by visiting: <a href="{{site.uri.public}}/organisations/reject?token={{token}}">{{site.uri.public}}/organisations/reject?token={{token}}</a>.
|
||||
</p>
|
||||
{% if approval_expiration %}
|
||||
<p>
|
||||
The approcal period for this organisation will expire in {{approval_expiration}} at which point the organisation will be automatically rejected.
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
With regards,<br>
|
||||
The {{site.title}} Team
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user