Organisation registration process implemented with configurable approval workflow

This commit is contained in:
2022-02-10 13:00:51 +00:00
parent fade1f8441
commit b64b4d72f9
23 changed files with 1453 additions and 7 deletions

View 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 %}