feat: Show "No notifications" message

This commit is contained in:
moanos [he/him] 2024-12-17 22:46:27 +01:00
parent 858c6d4468
commit 5a4720c41c

View File

@ -1,5 +1,10 @@
{% load i18n %}
<div class="container-cards"> <div class="container-cards">
{% if notifications %}
{% for notification in notifications %} {% for notification in notifications %}
{% include "fellchensammlung/partials/partial-notification.html" %} {% include "fellchensammlung/partials/partial-notification.html" %}
{% endfor %} {% endfor %}
{% else %}
<p>{% translate 'Keine ungelesenen Benachrichtigungen' %}</p>
{% endif %}
</div> </div>