diff default/event/invitation.html @ 19:422c54e0204a

event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
author Goffi <goffi@goffi.org>
date Fri, 19 May 2017 12:59:43 +0200
parents 48b831ab4238
children 8fa2fd2e928e
line wrap: on
line diff
--- a/default/event/invitation.html	Thu May 04 01:00:29 2017 +0200
+++ b/default/event/invitation.html	Fri May 19 12:59:43 2017 +0200
@@ -4,8 +4,8 @@
 <div class='invitation_header box'>
     <h1>Welcome {{name}}</h1>
     <p class='instructions'>You have been invited to participate to an event</p>
-    {% if event.picture is defined %}
-        <p><img id='event_picture' src="{{event.picture}}"></p>
+    {% if event.image is defined %}
+        <p><img id='event_picture' src="{{event.image}}"></p>
     {% endif %}
 </div>