feat: show text when no adoption notices are found

This commit is contained in:
moanos [he/him] 2024-08-06 16:24:20 +02:00
parent 619783663f
commit d7d22c2826

View File

@ -1,5 +1,10 @@
{% load i18n %}
<div class="container-cards">
{% for adoption_notice in adoption_notices %}
{% include "fellchensammlung/partials/partial-adoption-notice.html" %}
{% endfor %}
{% if adoption_notices %}
{% for adoption_notice in adoption_notices %}
{% include "fellchensammlung/partials/partial-adoption-notice.html" %}
{% endfor %}
{% else %}
<p>{% translate "Keine Vermittlungen gefunden." %}</p>
{% endif %}
</div>