view sat_templates/default/event/invitation.html @ 147:33c7ce833d3f

install: setup.py fix + moved "default" dir in a "sat_templates" dir: the merge request at https://bugs.goffi.org/mr/view/3 was a good basis, but not fully working ("default" dir was removed), this patch fixes it, and do some improvments: - moved "default" in "sat_templates" dir, which correspond to the python module, so it can be found easily from python - added VERSION, and mercurial hash detection, in the same way as for Cagou and backend - slight modification of classifiers - replaces tabs coming from MR by spaces
author Goffi <goffi@goffi.org>
date Sat, 02 Jun 2018 17:25:43 +0200
parents default/event/invitation.html@d8729eb9edb5
children 80cf52fbcc40
line wrap: on
line source

{% extends 'base/base.html' %}

{% block body %}
<div class='invitation_header box'>
    <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 %}
        <p><img id='event_picture' src="{{event.image}}"></p>
    {% 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/attendance.html' %}

{% if items is defined %}
    {% include 'blog/articles.html' %}
{% endif %}

{% endblock body %}