blob: cc22da4be70c90390e3614bea0df35cb35c5984e (
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
40
41
42
43
44
45
46
47
48
49
|
<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">
{% if msg.head.date %}
<time datetime="{{msg.head.date}}" class=jwm-tolocaltime>
{{ parse_iso_date(msg.head.date)|datetimeformat }}
</time>
{% else %}
{{ gettext("unknown") }}
{% endif %}
</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|filesizeformat|num_localize }}
</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>
|