feat: email the administrators when a role nomination appears
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{% extends 'email/layout.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<h1>
|
||||
Neue Rollen-Freischaltung
|
||||
</h1>
|
||||
<p>
|
||||
Für ein MyE&P-Konto wurde im BusPro-CRM eine administrative Rolle hinterlegt. Sie muss
|
||||
freigeschaltet werden, bevor sie gilt.
|
||||
</p>
|
||||
<p>
|
||||
<strong>{{ user.displayName }}</strong>
|
||||
<br>
|
||||
{{ user.email }}
|
||||
</p>
|
||||
<p>
|
||||
Beantragt {{ roles|length > 1 ? 'wurden folgende Rollen' : 'wurde folgende Rolle' }}:
|
||||
{% for role in roles %}
|
||||
<br>
|
||||
- {{ role }}
|
||||
{% endfor %}
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ approvalUrl }}" class="button">
|
||||
Freischaltung prüfen
|
||||
</a>
|
||||
</p>
|
||||
<p class="small">
|
||||
Solange die Freischaltung aussteht, hat die Rolle keinerlei Wirkung — das Konto kann damit
|
||||
nichts tun. Möchtest du sie nicht erteilen, ignoriere diese E-Mail einfach. Die Rolle wird
|
||||
erst entfernt, wenn die Auswahl im CRM entfernt wird.
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user