Show job offer anzeige_datum prominently on the card

The posting date was only a small gray span at the bottom and easy to
miss. Promote it to a labeled "Anzeige:" line right under firma/stelle/ort,
and add "Bewerbung vom: <datum>" in the footer row for offers that have
been turned into an application.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-03 23:29:07 +02:00
co-authored by Claude
parent 955e975ace
commit 89991d5c06
+12 -3
View File
@@ -58,6 +58,15 @@
<% if (j.gehalt) { %><%= j.gehalt %><% } %>
</p>
<% } %>
<% if (j.anzeige_datum) { %>
<p class="text-sm mt-1 flex items-center gap-1.5">
<span class="text-gray-500 dark:text-gray-400 shrink-0">Anzeige:</span>
<span class="inline-flex items-center gap-1 text-gray-700 dark:text-gray-200">
<svg class="w-3.5 h-3.5 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg>
<%= new Date(j.anzeige_datum).toLocaleDateString('de-DE') %>
</span>
</p>
<% } %>
<% if (j.kontakt_email) { %>
<p class="text-sm mt-1 flex items-center gap-1.5 min-w-0">
<span class="text-gray-500 dark:text-gray-400 shrink-0">Kontakt:</span>
@@ -82,9 +91,9 @@
</a>
<% } %>
<p class="text-xs text-gray-400 dark:text-gray-500 mt-2 flex flex-wrap gap-x-3 gap-y-1">
<% if (j.anzeige_datum) { %>
<span title="Datum der eigentlichen Stellenanzeige">
Anzeige: <span class="text-gray-500 dark:text-gray-400"><%= new Date(j.anzeige_datum).toLocaleDateString('de-DE') %></span>
<% if (j.verknuepfte_bewerbung_id && j.bewerbung_datum) { %>
<span title="Datum der aus diesem Angebot erstellten Bewerbung">
Bewerbung vom: <span class="text-gray-500 dark:text-gray-400"><%= new Date(j.bewerbung_datum).toLocaleDateString('de-DE') %></span>
</span>
<% } %>
<span title="Wann das Angebot über die REST-API eingespielt wurde">