This commit is contained in:
Ross
2021-12-16 17:34:40 +00:00
parent 6475516546
commit c26e9acc3c
3 changed files with 22 additions and 10 deletions
+9 -3
View File
@@ -1,9 +1,15 @@
{% extends 'generic/base.html' %}
{% block content %}
Attempted to send {{users_count}} emails.
Emails sent as below:
{% for u, success, msg in results %}
<p>{{u.cid}}: {{u.email}} [success={{success}}] ({{msg}})</p>
<h2>Emails sent:</h2>
{% for u in sent %}
<p>{{u.cid}}: {{u.email}}</p>
{% endfor %}
<h2>Emails not sent:</h2>
{% for u, msg in not_sent %}
<p>{{u.cid}}: {{u.email}} [{{msg}}]</p>
{% endfor %}
{% endblock %}