web mark birthdays that are today

This commit is contained in:
2026-08-05 15:23:12 +02:00
parent 4f27cc596e
commit 3017be812d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -226,6 +226,7 @@ def web_dashboard(
"last_sync": last_sync,
"last_sync_with_changes": last_sync_with_changes,
"current_year": date.today().year,
"today": date.today(),
},
)
+1 -1
View File
@@ -273,7 +273,7 @@
{% if upcoming_birthdays %}
<div class="birthday-list">
{% for b in upcoming_birthdays %}
<div class="birthday-item">
<div class="birthday-item"{% if b.birthday.month == today.month and b.birthday.day == today.day %} style="background: #fff3cd;"{% endif %}>
<div class="birthday-name">
<a href="/contacts/{{ b.id }}" style="color: #0066cc; text-decoration: none;">{{ b.full_name or '(Kein Name)' }}</a>
{% if b.organization %}