Commit 5e4f430067ffdb88c71e02843bf75126a77841da
1 parent
0c32a292
Exists in
master
and in
4 other branches
Change username display on top bar
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
app/templates/base_page.html
... | ... | @@ -9,11 +9,7 @@ |
9 | 9 | <nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0"> |
10 | 10 | <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">Plan de Charges</a> |
11 | 11 | {% if not current_user.is_anonymous %} |
12 | - <ul class="navbar-nav px-3"> | |
13 | - <li class="nav-item text-nowrap"> | |
14 | - <a class="nav-link">Bienvenue {{current_user.name}}</a> | |
15 | - </li> | |
16 | - </ul> | |
12 | + <span class="navbar-brand">{{current_user.name}}</span> | |
17 | 13 | <ul class="navbar-nav px-3"> |
18 | 14 | <li class="nav-item text-nowrap"> |
19 | 15 | <a class="nav-link" href="{{ url_for('auth.logout') }}">Déconnecter</a> | ... | ... |