]> git.ipfire.org Git - ipfire.org.git/commitdiff
footer: Add spacing between user name and logout button
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 May 2019 16:00:51 +0000 (17:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 May 2019 16:00:51 +0000 (17:00 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 21d04691e030947ee6053c4c07fce49a6d3d3d06..449f53cdc177b9dccf2268a95468eccf903f0f36 100644 (file)
                                                        {% 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>
-                                                               </span>
+                                                               </p>
                                                        {% end %}
                                                </div>
                                        </div>