{# One sample alert, from web/sample_alert.py. The text arrives escaped with only plain formatting tags let back in, so it is safe to mark as such here. #}
{{ a.name }}just now
{% if a.kind == "telegram" and a.photos %}
{% for p in a.photos %}{% endfor %}
{% endif %} {% if a.kind == "discord" %} {% for line in a.lines %}{{ line.html|safe }}

{% if loop.first and a.photos %}
{% for p in a.photos %}{% endfor %}
{% endif %}{% endfor %} {% else %}

{{ a.html|safe }}

{% endif %}
{% for row in a.buttons if row %}
{% for b in row %}{{ b }}{% endfor %}
{% endfor %}