Mercurial > libervia-templates
comparison default/event/invitation.html @ 21:24af9089aacd
default(event): added event_counter, which number of days left before event
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 May 2017 16:11:58 +0200 |
parents | 8fa2fd2e928e |
children | d8729eb9edb5 |
comparison
equal
deleted
inserted
replaced
20:8fa2fd2e928e | 21:24af9089aacd |
---|---|
7 {% if event.image is defined %} | 7 {% if event.image is defined %} |
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 %} | |
13 <div id="event_counter" class="box">{% trans %}{{days_left}} days left{% endtrans %}</div> | |
14 {% endif %} | |
15 | |
12 {% include 'event/attendance.html' %} | 16 {% include 'event/attendance.html' %} |
13 | 17 |
14 {% if items is defined %} | 18 {% if items is defined %} |
15 {% include 'blog/articles.html' %} | 19 {% include 'blog/articles.html' %} |
16 {% endif %} | 20 {% endif %} |