feat: Link adoption notices in list of them

This commit is contained in:
2024-03-20 10:32:00 +01:00
parent c27c00c679
commit 29667c86b9
2 changed files with 5 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
{% for adoption_notice in adoption_notices %}
<li>
<div>
<h1>{{ adoption_notice.name }}</h1>
<h1><a href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a></h1>
<p><b>Notfellchen:</b> {{ adoption_notice.animals.all|join_link:", " | safe }}
<ul>
{% for animal in adoption_notice.animal_list %}