comparison default/event/invitation.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents 422c54e0204a
children 24af9089aacd
comparison
equal deleted inserted replaced
19:422c54e0204a 20:8fa2fd2e928e
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='invitation_header box'>
5 <h1>Welcome {{name}}</h1> 5 <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1>
6 <p class='instructions'>You have been invited to participate to an event</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