comparison sat_templates/default/event/invitation.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 33c7ce833d3f
children
comparison
equal deleted inserted replaced
153:b84d20af0ed3 154:80cf52fbcc40
1 {% extends 'base/base.html' %} 1 {% extends 'base/base.html' %}
2 2
3 {% block body %} 3 {% block body %}
4 <div class='invitation_header box'> 4 <div class='box box--paper'>
5 <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1> 5 <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1>
6 <p class='instructions'>{% trans %}You have been invited to participate to an event{% endtrans %}</p> 6 <p class='instructions'>{% trans %}You have been invited to participate to an event{% endtrans %}</p>
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 %} 12 {% include 'event/counter.html' %}
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
19 {% endif %}
20 13
21 {% include 'event/attendance.html' %} 14 {% include 'event/attendance.html' %}
22 15
23 {% if items is defined %} 16 {% if items is defined %}
24 {% include 'blog/articles.html' %} 17 {% include 'blog/articles.html' %}