view sat_templates/templates/bulma/event/invitation.html @ 295:1de599c5a68f

bulma (base): loading screen: when the `loading_screen` variable is set before extending `base/base.html`, a loading modal is shown (and must be removed via JavaScript). This avoids the user to try to use an interface which is not reactive or working normally because JS is not fully loaded yet.
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:24:03 +0100
parents 0e69b5843c2f
children
line wrap: on
line source

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

{% block body %}

<section class="section">
    <h1 class="title is-4">
        {% trans %}Welcome {{name}}{% endtrans %}
    </h1>
    <div class="notification is-info">
        {% trans %}You have been invited to participate to an event{% endtrans %}
    </div>
    <div class="card">
        {% if event.image is defined %}
            <div class="card-image is-photo-thumbnail-container is-poster is-flex has-items-centered has-background-light">
                <img class='is-photo-thumbnail' src="{{event.image}}">
            </div>
        {% endif %}
        {% if event.description is defined %}
            <div class="card-content has-text-centered">
                <p>{{event.description}}</p>
            </div>
        {% endif %}
    </div>


    {% include 'event/counter.html' %}

    {% if days_left is defined and days_left > 0 %}
        {% include 'event/attendance.html' %}
    {% endif %}

    {% if items %}
        {% include 'blog/articles.html' %}
    {% endif %}
</section>

{% endblock body %}