Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
{% if not current_user and hostname in ("blog.ipfire.org", "nopaste.ipfire.org", "wiki.ipfire.org") %}
<a href="/login">{{ _("Login") }}</a>
{% elif current_user %}
{% if not current_user and hostname in ("blog.ipfire.org", "nopaste.ipfire.org", "wiki.ipfire.org") %}
<a href="/login">{{ _("Login") }}</a>
{% elif current_user %}
- <span>
- {{ _("You are currently logged in as %s") % current_user.name }}
+ <p class="mb-0">
+ <span class="mr-2">
+ {{ _("You are currently logged in as %s") % current_user.name }}
+ </span>
+
<a href="/logout">{{ _("Logout") }}</a>
<a href="/logout">{{ _("Logout") }}</a>