Apparently I should've rendered the emails in plain text.
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / email_preview.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> <head>
3 <title></title>
4 </head>
5 <body>
6 <p>
7 {% for user_admin_url, username in warnings %}
8 Warning: User <a href="{{ user_admin_url}}">{{ username }}</a> has no
9 email address <br/>
10 {% endfor %}
11 </p>
12 {% for to, subject, body, sending in emails %}
13 <hr/>
14 {% if sending %}<b>Message:</b> {{ sending }}<br/>{% endif %}
15 <b>From:</b> {{ from }}<br/>
16 <b>To:</b> {{ to }}<br/>
17 <b>Subject:</b> {{ subject }}<br/>
18 <pre>
19 {{ body }}
20 </pre>
21 {% endfor %}<hr/>
22 <form method="get">
23 <label for="bcc">BCC {% for m in site_managers %}{{ m }} {% endfor %}</label>
24 <input type="checkbox" id="bcc" name="bcc" checked="on"/><br/>
25 <input type="hidden" name="send" value="1"/>
26 <input type="submit" value="Send Email"/>
27 </body>
28 </html>