refactor: Remove double animal listing

This commit is contained in:
moanos [he/him] 2024-03-20 12:09:27 +01:00
parent dab29991c6
commit 58f45a69cc

View File

@ -5,11 +5,6 @@
<div> <div>
<h1><a href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a></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 }} <p><b>Notfellchen:</b> {{ adoption_notice.animals.all|join_link:", " | safe }}
<ul>
{% for animal in adoption_notice.animal_list %}
<li>{{ animal.name }}</li>
{% endfor %}
</ul>
</p> </p>
<p>{{ adoption_notice.description }}</p> <p>{{ adoption_notice.description }}</p>
</div> </div>