web badge on top right

This commit is contained in:
2026-08-05 17:06:41 +02:00
parent 082a7c5b38
commit be7832ea31
3 changed files with 12 additions and 9 deletions
+5 -4
View File
@@ -96,7 +96,6 @@
white-space: nowrap;
color: #888;
background: #f0f0f0;
margin-top: 0.35rem;
}
.section {
@@ -209,13 +208,15 @@
{% if contact.organization %}{{ contact.organization }}{% endif %}
</div>
{% endif %}
</div>
<div style="display:flex;flex-direction:column;align-items:center;gap:0.3rem">
{% if contact.photo_url %}
<img src="{{ contact.photo_url }}" alt="Foto" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
{% if show_all and contact.account %}
<span class="badge">Account: {{ contact.account }}</span>
{% endif %}
</div>
{% if contact.photo_url %}
<img src="{{ contact.photo_url }}" alt="Foto" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
</div>
{% if contact.birthday %}
+6 -4
View File
@@ -200,13 +200,15 @@
{% if c.birthday %}
<div class="contact-birthday">{{ c.birthday }}</div>
{% endif %}
</div>
<div style="display:flex;flex-direction:column;align-items:center;gap:0.3rem">
{% if c.photo_url %}
<img src="{{ c.photo_url }}" alt="" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
{% if show_all and c.account %}
<div class="contact-birthday"><span class="badge">Account: {{ c.account }}</span></div>
<span class="badge">Account: {{ c.account }}</span>
{% endif %}
</div>
{% if c.photo_url %}
<img src="{{ c.photo_url }}" alt="" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
</div>
</a>
{% endfor %}