From: Michael Tremer Date: Sat, 24 Jun 2023 15:43:26 +0000 (+0000) Subject: footer: Show profile information in footer X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfd0d4cf07068a9361ae25610c7ac7da7d99e62d;p=ipfire.org.git footer: Show profile information in footer Signed-off-by: Michael Tremer --- diff --git a/src/templates/base.html b/src/templates/base.html index 4d9eb4e4..c0d2f1df 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -221,18 +221,37 @@
-

- IPFire_People -

- -

- Join the community and sign up for our newsletter -

- - - JOIN NOW - + {# Show some profile information for users who are logged in #} + {% if current_user %} +

{{ _("Hello, %s!") % current_user }}

+ + + + {# Otherwise encourage people to join #} + {% else %} +

+ IPFire_People +

+ +

+ Join the community and sign up for our newsletter +

+ + + JOIN NOW + + {% end %}