mailpot/web/src/templates/lists/post.html

43 lines
1.4 KiB
HTML

{% include "header.html" %}
<div class="body">
<table class="headers" title="E-mail headers">
<caption class="screen-reader-only">E-mail headers</caption>
<tr>
<th scope="row">List:</th>
<td class="faded">{{ list.id }}</td>
</tr>
<tr>
<th scope="row">From:</th>
<td>{{ from }}</td>
</tr>
<tr>
<th scope="row">To:</th>
<td class="faded">{{ to }}</td>
</tr>
<tr>
<th scope="row">Subject:</th>
<td>{{ trimmed_subject }}</td>
</tr>
<tr>
<th scope="row">Date:</th>
<td class="faded">{{ date }}</td>
</tr>
{% if in_reply_to %}
<tr>
<th scope="row">In-Reply-To:</th>
<td class="faded message-id"><a href="{{ root_url_prefix }}{{ list_post_path(list.id, in_reply_to) }}">{{ in_reply_to }}</a></td>
</tr>
{% endif %}
{% if references %}
<tr>
<th scope="row">References:</th>
<td>{% for r in references %}<span class="faded message-id"><a href="{{ root_url_prefix }}{{ list_post_path(list.id, r) }}">{{ r }}</a></span>{% endfor %}</td>
</tr>
{% endif %}
</table>
<div class="post-body">
<pre title="E-mail text content">{{ body }}</pre>
</div>
</div>
{% include "footer.html" %}