| 1 | {% extends 'base/base.html' %} |
| 2 | |
| 3 | {% block body %} |
| 4 | |
| 5 | <section class="section"> |
| 6 | <h1 class="title is-4"> |
| 7 | {% trans %}Welcome {{name}}{% endtrans %} |
| 8 | </h1> |
| 9 | <div class="notification is-info"> |
| 10 | {% trans %}You have been invited to participate to an event{% endtrans %} |
| 11 | </div> |
| 12 | <div class="card"> |
| 13 | {% if event.image is defined %} |
| 14 | <div class="card-image is-photo-thumbnail-container is-poster is-flex has-items-centered has-background-light"> |
| 15 | <img class='is-photo-thumbnail' src="{{event.image}}"> |
| 16 | </div> |
| 17 | {% endif %} |
| 18 | {% if event.description is defined %} |
| 19 | <div class="card-content has-text-centered"> |
| 20 | <p>{{event.description}}</p> |
| 21 | </div> |
| 22 | {% endif %} |
| 23 | </div> |
| 24 | |
| 25 | |
| 26 | {% include 'event/counter.html' %} |
| 27 | |
| 28 | {% if days_left is defined and days_left > 0 %} |
| 29 | {% include 'event/attendance.html' %} |
| 30 | {% endif %} |
| 31 | |
| 32 | {% if items %} |
| 33 | {% include 'blog/articles.html' %} |
| 34 | {% endif %} |
| 35 | </section> |
| 36 | |
| 37 | {% endblock body %} |