Add a bread crumb to the send started email page.
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / email_preview.html
1 {% extends "base.html" %}
2 {% load i18n %}
3
4 {% block breadcrumbs %}
5 <div class="breadcrumbs">
6   <a href="/admin">{% trans 'Home' %}</a> &rsaquo;
7   <a href="/admin/experiments">Experiments</a> &rsaquo;
8   <a href="/admin/experiments/flowcell">flowcell</a> &rsaquo;
9   <a href="{{ flowcell.get_admin_url }}">{{ flowcell.flowcell_id }}</a>
10 </div>  
11 {% endblock %}
12
13 {% block content %}
14 {% if warnings %}
15 <hr/>
16 <p>
17 {% for user_admin_url, username in warnings %}
18 Warning: User <a href="{{ user_admin_url}}">{{ username }}</a> has no
19 email address <br/>
20 {% endfor %}
21 {% endif %}
22 </p>
23 {% for to, subject, body, sending in emails %}
24 <hr/>
25 {% if sending %}<b>Message:</b> {{ sending }}<br/>{% endif %}
26 <b>From:</b> {{ from }}<br/>
27 <b>To:</b> {{ to }}<br/>
28 <b>Subject:</b> {{ subject }}<br/>
29 <pre>
30 {{ body }}
31 </pre>
32 {% endfor %}<hr/>
33 <form method="get">
34 <label for="bcc">BCC {% for m in site_managers %}{{ m }} {% endfor %}</label>
35 <input type="checkbox" id="bcc" name="bcc" checked="on"/><br/>
36 <input type="hidden" name="send" value="1"/>
37 <input type="submit" value="Send Email"/>
38 {% endblock %}