1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-05 14:55:20 +02:00

Patch function "Display Name" into admin page

This commit is contained in:
Kevin Falcoz 2022-01-31 16:40:37 +01:00 committed by GitHub
parent 1e54d44b19
commit 3e394faf92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,11 @@
<div class="div-circle elevation-2"><i class="fa fa-user text-lg text-dark"></i></div>
</div>
<div class="info">
{%- if current_user.displayed_name %}
<a href="{{ url_for('.user_settings') }}" class="d-block">{{ current_user.displayed_name }}</a>
{% else %}
<a href="{{ url_for('.user_settings') }}" class="d-block">{{ current_user }}</a>
{%- endif %}
</div>
</div>
{%- endif %}