18 lines
1.3 KiB
HTML
18 lines
1.3 KiB
HTML
<details class="user-menu">
|
|
<summary><span aria-hidden="true">☠</span> <span class="user-menu-name">{{ user.display_name }}</span>{% 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 Inhalte') }}</a>
|
|
{% if user.is_admin %}<a href="/admin">{{ _('⚙️ Verwaltung') }}</a>{% endif %}
|
|
<a href="/datenschutz">{{ _('Datenschutz') }}</a>
|
|
<a href="/impressum">{{ _('Impressum') }}</a>
|
|
<a href="{{ bug_report_url() }}">{{ _('🐛 Bug melden') }}</a>
|
|
<form method="post" action="/logout">
|
|
<button type="submit">{{ _('Abmelden') }}</button>
|
|
</form>
|
|
</div>
|
|
</details>
|
|
{% include '_native_push.html' %}
|