updates recent foirequest styling

This commit is contained in:
Jonas Heinrich 2025-09-19 14:59:25 +02:00
parent e3d283f463
commit ee3800104f

View file

@ -83,7 +83,20 @@
{% with foirequest=object.get_recent_foirequest %}
<dt>Anfrage</dt>
<dd>
<a href="{{ foirequest.url }}" class="text-decoration-none">Aktuell laufende Anfrage vom {{ foirequest.created_at|date:"d.m.Y" }}</a>
<div class="mb-0 d-flex flex-column">
<div class="flex-grow-1">
<span class="mt-0 mb-1">
<a href="{{ foirequest.url }}" target="_blank" class="text-decoration-none">
{{ foirequest.title|default:"Aktuell laufende Anfrage" }}
</a>
<br>
<small class="text-gray-700">
gestartet am {{ foirequest.created_at|date:"d.m.Y" }},
vor {{ foirequest.created_at|timesince }}
</small>
</span>
</div>
</div>
</dd>
{% endwith %}
{% endif %}