diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2023-12-18 13:47:05 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-18 13:49:05 +0100 |
commit | 67cca9872a7d8ade5b67b6649171e6e275bc5c87 (patch) | |
tree | d23daa4045c94f35e3c0a6192a73e1ce1edf1cf7 /ogcp/templates | |
parent | 869f15ecf05b2d8d1ee6f34227764bb829d176b1 (diff) |
templates: Show username in top navbarv1.1.3-9
Show the username of the user currently logged-in in the top navbar.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/base.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 8906fd9..73138b9 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -54,6 +54,11 @@ {% if current_user.is_authenticated %} <li class="nav-item"> + <span class="navbar-text"> + {{ current_user.id }} + </span> + </li> + <li class="nav-item"> <a class="btn btn-danger" href="{{ url_for('logout') }}">{{ _('Logout') }}</a> </li> |