diff --git a/web-dashboard/index.html b/web-dashboard/index.html index 6387b8f..74c30aa 100644 --- a/web-dashboard/index.html +++ b/web-dashboard/index.html @@ -1024,7 +1024,7 @@
-

Restmüll, Biomüll, Gelbe Tonne und Papiertonne werden automatisch täglich von der Kommunalen Abfallwirtschaft Mainz-Bingen übernommen.

+

Restmüll, Biomüll, Gelbe Tonne und Papiertonne werden automatisch täglich von der Kommunalen Abfallwirtschaft Mainz-Bingen übernommen. "✓ Name" zeigt, wer die Tonne rausgestellt hat.

@@ -2901,9 +2901,10 @@ trashCalendar.removeAllEvents(); entries.forEach(t => { + const label = TRASH_TYPE_LABEL[t.type] || t.type; trashCalendar.addEvent({ id: t.id, - title: TRASH_TYPE_LABEL[t.type] || t.type, + title: t.completedBy ? `${label} ✓ ${t.completedBy.fullName.split(' ')[0]}` : label, start: (t.date || '').slice(0, 10), allDay: true, backgroundColor: TRASH_TYPE_COLOR[t.type] || '#888',