blob: 29e8eeea6ee1d689c381a6b6b863024f3c91b59f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<section class="box">
{% for msg in msgs %}
<tag class="media {{ 'jwm-new-mail' if msg.unread else '' }}" id="{{ msg.message_handle }}">
<div class="media-left is-hidden-mobile">
{{ loop.index + (pgn.page - 1) * pgn.per_page }}
</div>
<div class="media-content">
<div class="columns is-gapless is-multiline">
<div class="column is-10">
{{ msg.head.sender.0.display_name or msg.head.sender.0.address or msg.head.from.0.display_name or msg.head.from.0.address }}
</div>
<div class="column is-2">
{{ parse_iso_date(msg.head.date)|datetimeformat }}
</div>
<div class="column is-10">
<a href="{{ url_for('read', msgid=msg.message_handle, folder=folder) }}">
{{ msg.head.subject or '_' }}
</a>
</div>
<div class="column is-2">
{{ msg.byte_size|byte_size10 }}
</div>
</div>
</div>
<div class=media-right>
<input type="checkbox" name="{{ msg.message_handle }}" form="move-mail remove-mail" class="jwm-mail-checkbox">
</div>
</tag>
{% endfor %}
</section>
|