2206: Patch function "Display Name" into admin page r=mergify[bot] a=0pc0deFR

## What type of PR?

bug-fix

## What does this PR do?

This PR is bug-fix for #2100 

### Related issue(s)
- Mention an issue like: #2100
- Auto close an issue like: closes #2100


Co-authored-by: Kevin Falcoz <0pc0defr@gmail.com>
Co-authored-by: Kevin Falcoz <0pc0deFR@gmail.com>
master
bors[bot] 3 years ago committed by GitHub
commit 9742f002e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,11 +1,11 @@
<div class="sidebar text-sm">
{%- if current_user.is_authenticated %}
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
<div class="user-panel mt-3 pb-3 mb-3 d-flex" title="{{ current_user }}">
<div class="image">
<div class="div-circle elevation-2"><i class="fa fa-user text-lg text-dark"></i></div>
</div>
<div class="info">
<a href="{{ url_for('.user_settings') }}" class="d-block">{{ current_user }}</a>
<a href="{{ url_for('.user_settings') }}" class="d-block">{{ current_user.displayed_name or current_user }}</a>
</div>
</div>
{%- endif %}

Loading…
Cancel
Save