From 1d879993c91988922147b4cdf39b0fefa8745d8f Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 3 Jul 2025 16:39:17 +0200 Subject: [PATCH] feat: Add organization to adoption notice detail page --- .../details/detail-adoption-notice.html | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/details/detail-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/details/detail-adoption-notice.html index 61200a5..db29a61 100644 --- a/src/fellchensammlung/templates/fellchensammlung/details/detail-adoption-notice.html +++ b/src/fellchensammlung/templates/fellchensammlung/details/detail-adoption-notice.html @@ -13,7 +13,8 @@ {% block og_description %} {% endblock %} -{% block canonical_url %}{% host %}{% url 'adoption-notice-detail' adoption_notice_id=adoption_notice.id %}{% endblock %} +{% block canonical_url %}{% host %} + {% url 'adoption-notice-detail' adoption_notice_id=adoption_notice.id %}{% endblock %} {% block og_image %} {% if adoption_notice.get_photos %} @@ -90,16 +91,25 @@
+ {% if adoption_notice.organization %} + + {% endif %}
- - {% translate "Ort" %}: - {% if adoption_notice.location %} - {{ adoption_notice.location }} - {% else %} - {{ adoption_notice.location_string }} - {% endif %} - + + + {% if adoption_notice.location %} + {{ adoption_notice.location }} + {% else %} + {{ adoption_notice.location_string }} + {% endif %} +
{% include "fellchensammlung/partials/sex-overview.html" %}