1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Hide next events if none are listed

This commit is contained in:
Steffo 2019-01-02 17:47:13 +01:00
parent ec713c345e
commit a95615c452

View file

@ -15,14 +15,16 @@
<div class="main-page"> <div class="main-page">
<div class="left"> <div class="left">
<div class="box"> <div class="box">
<div class="upper-box"> {% if next_events %}
Prossimi eventi <div class="upper-box">
</div> Prossimi eventi
<div class="lower-box"> </div>
{% for event in next_events %} <div class="lower-box">
{% include "components/event.html" %} {% for event in next_events %}
{% endfor %} {% include "components/event.html" %}
</div> {% endfor %}
</div>
{% endif %}
</div> </div>
{% include "components/wikibox.html" %} {% include "components/wikibox.html" %}
<div class="box"> <div class="box">