Mercurial > libervia-templates
annotate sat_templates/templates/default/event/invitation.html @ 183:240bbac435f4
base: implemented language button:
- `component.menu` can now be used with a `{% call %}`, allowing extra HTML to be added after in the <nav> element
- a language dropdown is shown if more than one translation is available, allowing to change page locale
- if javascript is available, only the dropdown is visible, and changing it reload the page with new locale
- if javascript is not available, a submit button is display to change the locale
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 10 Apr 2019 21:05:58 +0200 |
parents | e9f0a4215e46 |
children |
rev | line source |
---|---|
11 | 1 {% extends 'base/base.html' %} |
2 | |
3 {% block body %} | |
154
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
147
diff
changeset
|
4 <div class='box box--paper'> |
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 | |
154
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
147
diff
changeset
|
12 {% include 'event/counter.html' %} |
21
24af9089aacd
default(event): added event_counter, which number of days left before event
Goffi <goffi@goffi.org>
parents:
20
diff
changeset
|
13 |
11 | 14 {% include 'event/attendance.html' %} |
15 | |
16 {% if items is defined %} | |
17 {% include 'blog/articles.html' %} | |
18 {% endif %} | |
19 | |
20 {% endblock body %} |