Skip to content
Snippets Groups Projects

Resolve "Send mail to guradians and/or participants from registration"

Files
6
@@ -12,8 +12,9 @@
{% has_perm 'paweljong.manage_registration' user registration as can_manage_registration %}
{% has_perm 'paweljong.delete_registration' user registration as can_delete_registration %}
{% has_perm 'paweljong.send_notification_mail' user registration as can_send_notification %}
{% if can_manage_registration or can_manage_registration_preferences or can_delete_registration %}
{% if can_manage_registration or can_manage_registration_preferences or can_delete_registration or can_send_notification %}
<p>
{% if can_manage_registration %}
<a href="{% url 'edit_registration_by_pk' registration.pk %}" class="btn waves-effect waves-light">
@@ -29,6 +30,13 @@
</a>
{% endif %}
{% if can_send_notification %}
<a href="{% url 'registration_notification_by_pk' registration.pk %}" class="btn waves-effect waves-light">
<i class="material-icons left">email</i>
{% trans "Notification" %}
</a>
{% endif %}
</p>
{% endif %}
Loading