view sat_templates/templates/default/event/counter.html @ 244:a62822c6a114

bulma: added a notification area + first dialog template for confirmation request
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +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 %}