From: Michael Tremer Date: Sat, 1 Sep 2018 12:52:38 +0000 (+0100) Subject: Show note about login status in footer X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddfebab0069890bbffe7c2970cc565f55132b1d8;p=ipfire.org.git Show note about login status in footer Signed-off-by: Michael Tremer --- diff --git a/src/templates/base.html b/src/templates/base.html index 1bb17283..cf6c7c62 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -151,7 +151,12 @@ © {{ year }} - {{ _("IPFire is free software written by the IPFire Project") }} {% if not current_user and hostname in ("blog.ipfire.org") %} - Login + {{ _("Login") }} + {% elif current_user %} + + {{ _("You are currently logged in as %s") % current_user.name }} + {{ _("Logout") }} + {% end %}