{% from "macros.html" import generate_obj_id %}
{% trans %}Conversations{% endtrans %}
{{ message_count }}/{{ flaskbb_config["MESSAGE_QUOTA"] }}
{% for conversation in conversations.items %}
{% if conversation.from_user.avatar %} avatar {% else %} avatar {% endif %}
{% if conversation.unread %} {{ conversation.subject }} {% else %} {{ conversation.subject }} {% endif %}
#{{ generate_obj_id(conversations, loop.index, flaskbb_config["TOPICS_PER_PAGE"]) }}
From {{ conversation.from_user.username }} to {{ conversation.to_user.username }} on {{ conversation.last_message.date_created|format_date("%d %B %Y - %H:%M") }}
{{ conversation.last_message.message|crop_title(150)|markup }}
{% if include_move %}
{% endif %} {% if include_delete %}
{% endif %} {% if include_restore %}
{% endif %} {% if include_edit %} {% endif %}
{% else %}
{% trans %}No conversations found.{% endtrans %}
{% endfor %}