Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- a/sat_templates/default/event/invitation.html Thu Jun 21 01:09:00 2018 +0200 +++ b/sat_templates/default/event/invitation.html Thu Jun 21 01:11:07 2018 +0200 @@ -1,7 +1,7 @@ {% extends 'base/base.html' %} {% block body %} -<div class='invitation_header box'> +<div class='box box--paper'> <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1> <p class='instructions'>{% trans %}You have been invited to participate to an event{% endtrans %}</p> {% if event.image is defined %} @@ -9,14 +9,7 @@ {% endif %} </div> -{% if days_left is defined %} - {% if days_left > 0 %} - <div id="event_counter" class="box">{% trans %}{{days_left}} days left{% endtrans %}</div> - {% else %} - <div id="event_counter" class="box">{% trans %}the event is finished{% endtrans %}</div> - {% endif %} - -{% endif %} +{% include 'event/counter.html' %} {% include 'event/attendance.html' %}