feat: Add info that there are no pictures on animal

This commit is contained in:
moanos [he/him] 2024-08-08 17:18:47 +02:00
parent 7deedad351
commit f8400e5178

View File

@ -25,5 +25,8 @@
<img src="/media/{{ image.image }}" alt="{{ image.alt_text }}"> <img src="/media/{{ image.image }}" alt="{{ image.alt_text }}">
</div> </div>
{% endfor %} {% endfor %}
{% if not animal.get_photos %}
{% translate "Keine Bilder" %}
{% endif %}
</div> </div>
</div> </div>