mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-17 15:30:24 +00:00
web mark birthdays that are today
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user