comparison sat_templates/default/event/counter.html @ 154:80cf52fbcc40

events: added admin, create and overview templates
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:11:07 +0200
parents
children
comparison
equal deleted inserted replaced
153:b84d20af0ed3 154:80cf52fbcc40
1 {% if days_left is defined %}
2 {% if days_left > 0 %}
3 <div class="event__counter box">
4 {% trans %}
5 {{days_left}} day left
6 {% pluralize %}
7 {{days_left}} days left
8 {% endtrans %}
9 </div>
10 {% else %}
11 <div class="event__counter box">{% trans %}the event is finished{% endtrans %}</div>
12 {% endif %}
13
14 {% endif %}