From c4a36f149eaa207a7bbc1f810e1344696e3e0830 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 20 Mar 2024 10:35:49 +0100 Subject: [PATCH] feat: Add adoption notice detail view --- .../detail_adoption_notice.html | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/fellchensammlung/templates/fellchensammlung/detail_adoption_notice.html diff --git a/src/fellchensammlung/templates/fellchensammlung/detail_adoption_notice.html b/src/fellchensammlung/templates/fellchensammlung/detail_adoption_notice.html new file mode 100644 index 0000000..f185d8a --- /dev/null +++ b/src/fellchensammlung/templates/fellchensammlung/detail_adoption_notice.html @@ -0,0 +1,27 @@ +{% extends "fellchensammlung/base_generic.html" %} +{% load custom_tags %} +{% load i18n %} + +{% block content %} +
+

{{ adoption_notice.name }}

+
+
+ + + + + + + + + +
OrtSuchen seit
{{ adoption_notice.location.name }}, {{ adoption_notice.location.postcode }}{{ adoption_notice.searching_since }}
+
+

{{ adoption_notice.description }}

+
+ {% for animal in adoption_notice.animals %} + {% include "fellchensammlung/detail-animal-partial.html" %} + {% endfor %} +
+{% endblock %}