mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-17 23:40:24 +00:00
web dashboard birthday with photo
This commit is contained in:
@@ -195,6 +195,14 @@
|
||||
content: "\1F382 ";
|
||||
}
|
||||
|
||||
.contact-photo {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
color: #888;
|
||||
font-size: 0.875rem;
|
||||
@@ -309,6 +317,9 @@
|
||||
{{ b.birthday.strftime('%d.%m.') }}{% if b.birthday.year and b.birthday.year < current_year %} · {{ current_year - b.birthday.year }} Jahre{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% if b.photo_url %}
|
||||
<img src="{{ b.photo_url }}" alt="" class="contact-photo" onerror="this.style.display='none'">
|
||||
{% endif %}
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user