{% extends "server/base.html" %} {% import "chats/macros.html" as m with context %} {% set short = ref(agent.id) %} {% block title %}{{ t.text("chats.reminders") }}{% endblock %} {% block top %}{% endblock %} {% block head %}{% endblock %} {% block body %} {# the agent's reminders still to fire, the soonest first: when, and what in which conversation, a group by its name and a private one as who it is with #}

{{ t.text("chats.reminders") }}

{{ t.text("chats.reminders.waiting", {"n": reminders | length}) }}
{% for reminder in reminders %}
{{ m.icon("alarm-clock") }}
{{ m.when(reminder) }}
{{ reminder.title }}{% if reminder.conversation %} ยท {{ reminder.conversation if reminder.kind == "group" else t.text("chats.dm", {"name": reminder.conversation}) }}{% endif %}
{% else %}

{{ t.text("chats.reminders.none") }}

{% endfor %}
{% endblock %}