Mercurial > libervia-templates
comparison default/event/invitation.html @ 50:d8729eb9edb5
events (invitation): indicate when the event is finished
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Oct 2017 18:51:53 +0200 |
parents | 24af9089aacd |
children |
comparison
equal
deleted
inserted
replaced
49:f19e9f5e43b0 | 50:d8729eb9edb5 |
---|---|
8 <p><img id='event_picture' src="{{event.image}}"></p> | 8 <p><img id='event_picture' src="{{event.image}}"></p> |
9 {% endif %} | 9 {% endif %} |
10 </div> | 10 </div> |
11 | 11 |
12 {% if days_left is defined %} | 12 {% if days_left is defined %} |
13 <div id="event_counter" class="box">{% trans %}{{days_left}} days left{% endtrans %}</div> | 13 {% if days_left > 0 %} |
14 <div id="event_counter" class="box">{% trans %}{{days_left}} days left{% endtrans %}</div> | |
15 {% else %} | |
16 <div id="event_counter" class="box">{% trans %}the event is finished{% endtrans %}</div> | |
17 {% endif %} | |
18 | |
14 {% endif %} | 19 {% endif %} |
15 | 20 |
16 {% include 'event/attendance.html' %} | 21 {% include 'event/attendance.html' %} |
17 | 22 |
18 {% if items is defined %} | 23 {% if items is defined %} |