b2af866cf0
Add persistent German/English switching, translated UI messages and English 12-hour times. Align desktop event actions while preserving mobile layouts and record bilingual project guidance. Include pending diary deletion exclusions. Validate both languages with nine tests.
16 lines
1.2 KiB
HTML
16 lines
1.2 KiB
HTML
<details class="user-menu">
|
|
<summary>☠ {{ user.display_name }}{% if user.notification_count %} <span class="metal-notification" title="{{ user.notification_count }} {{ _('neue Nachricht(en) oder Anfrage(n)') }}" aria-label="{{ _('Neue Benachrichtigungen') }}">🤘<b>{{ user.notification_count }}</b></span>{% endif %}</summary>
|
|
<div class="user-menu-panel">
|
|
<a href="/profile">{{ _('Mein Profil') }}</a>
|
|
<a href="/messages">{{ _('Nachrichten') }}{% if user.notification_count %} <span class="metal-notification" title="{{ _('Neue Nachrichten oder Anfragen') }}" aria-label="{{ _('Neue Nachrichten oder Anfragen') }}">🤘<b>{{ user.notification_count }}</b></span>{% endif %}</a>
|
|
<a href="/diary">{{ _('Konzerttagebuch') }}</a>
|
|
<a href="/following">{{ _('Gefolgte Bands & Locations') }}</a>
|
|
{% if user.is_admin %}<a href="/admin">{{ _('⚙️ Verwaltung') }}</a>{% endif %}
|
|
<a href="/datenschutz">{{ _('Datenschutz') }}</a>
|
|
<a href="/impressum">{{ _('Impressum') }}</a>
|
|
<form method="post" action="/logout">
|
|
<button type="submit">{{ _('Abmelden') }}</button>
|
|
</form>
|
|
</div>
|
|
</details>
|