feat: Add lionk to adoption notices on index

This commit is contained in:
moanos [he/him] 2024-03-20 10:44:15 +01:00
parent b142f28bdf
commit 32021be0f7

View File

@ -7,7 +7,7 @@
<h2>{% translate "Aktuelle Vermittlungen" %}</h2> <h2>{% translate "Aktuelle Vermittlungen" %}</h2>
<ul> <ul>
{% for adoption_notice in latest_adoptions %} {% for adoption_notice in latest_adoptions %}
<li>{{ adoption_notice.name }}: {{ adoption_notice.animals }} </li> <li><a href="{{ adoption_notice.get_absolute_url }}">{{ adoption_notice.name }}</a>: {{ adoption_notice.animals | join:", " }} </li>
{% endfor %} {% endfor %}
</ul> </ul>