feat: created and updated timestamps in assignment details

This commit is contained in:
Björn Fromme
2024-12-02 14:22:31 +01:00
parent 44d130414c
commit 8aca2a5e87
@@ -80,5 +80,25 @@
{% endif %}
</dd>
</div>
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-bold leading-6 text-gray-900">
erstellt
</dt>
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
{{ assignment.createdAt|date('d.m.Y, H:i') }} Uhr
</dd>
</div>
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
<dt class="text-sm font-bold leading-6 text-gray-900">
aktualisiert
</dt>
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
{% if assignment.updatedAt %}
{{ assignment.updatedAt|date('d.m.Y, H:i') }} Uhr
{% else %}
-
{% endif %}
</dd>
</div>
</dl>
</div>