<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>