view sat_templates/templates/default/event/counter.html @ 407:f45c311710b1 default tip

chat (message): Add origin of the message: A tag is used to show origin of the message below header. A "bot" tag is also added is the sender identifies itself as a bot. rel 459
author Goffi <goffi@goffi.org>
date Sun, 08 Jun 2025 17:31:38 +0200
parents e9f0a4215e46
children
line wrap: on
line source

{% if days_left is defined %}
    {% if days_left > 0 %}
        <div class="event__counter box">
            {% trans %}
                {{days_left}} day left
            {% pluralize %}
                {{days_left}} days left
            {% endtrans %}
        </div>
    {% else %}
        <div class="event__counter box">{% trans %}the event is finished{% endtrans %}</div>
    {% endif %}

{% endif %}