-
{% for p in range(1, pagination.total + 1) %}
- {{ p }} {% endfor %}
-
{% for m in messages %}
{% set day = m.date.strftime("%d %B %Y") %}
{% if loop.index0 == 0 or day != messages[loop.index0 - 1].date.strftime("%d %B %Y") %}
- {{ day }} ({{ dayline[m.date.strftime("%Y-%m-%d")].count }} messages) {% endif %}
-
{% if m.user.avatar %}
{% endif %}
{% if config.user_fullname %} {{ m.user.first_name }} {{ m.user.last_name }} (@{{ m.user.username }}) {% else %} @{{ m.user.username }} {% endif %} {% if m.reply_to %} ↶ Reply to #{{ m.reply_to }} {% endif %} #{{ m.id }} {% if m.user.tags %} {% for t in m.user.tags %} {{ t }} {% endfor %} {% endif %} {{ m.date.strftime("%I:%M %p, %d %b %Y") }}{% if m.type == "message" %} {{ nl2br(m.content | escape) | safe | urlize }} {% else %} {% if m.type == "user_joined" %} Joined. {% elif m.type == "user_left" %} Left. {% endif %} {% endif %}{% if m.media %}{% if m.media.type == "webpage" and (m.media.title or m.media.description) %} {{ m.media.title or "Link" }} {% if m.media.description %}{% endif %}{{ m.media.description }}
{% endif %} {% elif m.media.type == "poll" %}{{ m.media.title }}
{{ m.media.description | sum(attribute="count") }} vote(s).-
{% for o in m.media.description %}
- {{ o.percent }}%, {{ o.count }} votes {% endfor %}
{{ m.media.title }} {% else %} {{ m.media.title }} {% endif %}
{% endfor %}
-
{% for p in range(1, pagination.total + 1) %}
- {{ p }} {% endfor %}