From ba7e229ab22e2d8d3c0226bd8eda2327c6c1af56 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 1 May 2024 10:18:46 +0200 Subject: [PATCH] fix: Translation and photo display --- .../fellchensammlung/details/detail-animal-partial.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html b/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html index fc3be3b..b282f97 100644 --- a/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html +++ b/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html @@ -1,4 +1,5 @@ {% load static %} +{% load i18n %}

{{ animal.name }}

@@ -19,7 +20,7 @@

{{ animal.description }}

{% translate "Bilder" %}

- {% for image in animal.photos_list %} + {% for image in animal.get_photos %}
{{ image.alt_text }}