Show a message when the calendar has no events.
CI / test (pull_request) Successful in 5s
Unit Tests / test (pull_request) Successful in 4s

Closes #34. Upcoming and Past tabs explain an empty list instead of leaving the content area blank.
This commit is contained in:
westfarn committed 2026-10-09 12:39:08 -05:00
1 parent 783712972b
commit 427693fb9f
2 files changed
+21 -2

No files matched your search

+12 -2
View File
@@ -136,6 +136,12 @@
</div>
</div>
{% empty %}
<div class="col-12">
<div class="alert alert-light border text-center mb-0" role="status">
There are no upcoming events to display.
</div>
</div>
{% endfor %}
</div>
</div>
@@ -179,9 +185,13 @@
</div>
</div>
</div>
{% empty %}
<div class="col-12">
<div class="alert alert-light border text-center mb-0" role="status">
There are no past events to display.
</div>
</div>
{% endfor %}
</div>
</div>
</div>