Mercurial > libervia-templates
annotate 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 |
rev | line source |
---|---|
11 | 1 {% extends 'base/base.html' %} |
2 | |
3 {% block body %} | |
17 | 4 <div class='invitation_header box'> |
20 | 5 <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1> |
6 <p class='instructions'>{% trans %}You have been invited to participate to an event{% endtrans %}</p> | |
19
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
7 {% if event.image is defined %} |
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
8 <p><img id='event_picture' src="{{event.image}}"></p> |
17 | 9 {% endif %} |
11 | 10 </div> |
11 | |
21
24af9089aacd
default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents:
20
diff
changeset
|
12 {% if days_left is defined %} |
24af9089aacd
default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents:
20
diff
changeset
|
13 <div id="event_counter" class="box">{% trans %}{{days_left}} days left{% endtrans %}</div> |
24af9089aacd
default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents:
20
diff
changeset
|
14 {% endif %} |
24af9089aacd
default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents:
20
diff
changeset
|
15 |
11 | 16 {% include 'event/attendance.html' %} |
17 | |
18 {% if items is defined %} | |
19 {% include 'blog/articles.html' %} | |
20 {% endif %} | |
21 | |
22 {% endblock body %} |