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:
parent
ec713c345e
commit
a95615c452
1 changed files with 10 additions and 8 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue