{% for t in threads %}
{{ t.from_name or t.from_addr }} {{ t.subject or "(no subject)" }} {# folder_msg_count vs msg_count: every other field in this row (subject, from, snippet, date) comes from the latest message IN THIS FOLDER (list_threads is explicit about that). msg_count is account-wide -- showing it here, unlabelled, next to folder-scoped fields would lie: a thread with 1 message in INBOX and 1 in Sent would show a "2" badge on an INBOX row that only has one message to click into. So the badge shows folder_msg_count, which agrees with everything else on the row. See cove/db/threads.py:list_threads docstring for the full rationale. #} {% if t.folder_msg_count > 1 %}{{ t.folder_msg_count }}{% endif %} {% if t.has_attachments %}◆{% endif %} {{ t.snippet }}
{% else %}

Nothing here.

{% endfor %}