Patch function "Display Name" into admin page

master
Kevin Falcoz 2 years ago committed by GitHub
parent 1e54d44b19
commit 3e394faf92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 %}

Loading…
Cancel
Save