Petites améliorations de formulation et d'UI

This commit is contained in:
Colin Maudry
2026-07-01 10:17:25 +02:00
parent 502d3b390a
commit 63a7ff3d89
9 changed files with 87 additions and 33 deletions
+3 -2
View File
@@ -312,8 +312,9 @@ def toggle_navbar_collapse(n, is_open):
)
def _auth_nav(_):
if current_user.is_authenticated:
email = current_user.email
display = email if len(email) <= 30 else email[:27] + "..."
# email = current_user.email
# display = email if len(email) <= 30 else email[:27] + "..."
display = "★★★"
return dbc.NavItem(dbc.NavLink(display, href="/compte/admin"))
return dbc.NavItem(dbc.NavLink("Connexion", href="/connexion"))