Clarify "no events" on timeline

Suggested in #229
This commit is contained in:
Ohad Lutzky 2021-07-07 00:43:18 +01:00 committed by Christopher Charbonneau Wells
parent 8e814f1674
commit 2a7402283c
1 changed files with 24 additions and 20 deletions

View File

@ -44,6 +44,7 @@
</a>
{% endif %}
</h3>
{% if timeline_objects %}
<ul class="timeline m-auto">
{% for object in timeline_objects %}
<li{% cycle "" ' class="timeline-inverted"' %}>
@ -66,6 +67,9 @@
</li>
{% endfor %}
</ul>
{% else %}
<div class="text-center">No events</div>
{% endif %}
</div>
</div>
{% endblock %}