From 6b3f75f80b5f7b2b8d59f0259de696e8ebed25d3 Mon Sep 17 00:00:00 2001 From: Jim Brandt Date: Wed, 27 Jan 2021 09:18:59 -0500 Subject: [PATCH] Remove extra closing div on Login/Logout pages The Footer template adds a closing div, normally for the PageLayout template, so Login/Logout can omit the closing div for the "body" to follow the same pattern. Fixes: I#37049 --- share/html/Elements/Login | 3 ++- share/html/NoAuth/Logout.html | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/share/html/Elements/Login b/share/html/Elements/Login index 61813942880..b53f13a77f8 100644 --- a/share/html/Elements/Login +++ b/share/html/Elements/Login @@ -100,7 +100,8 @@ jQuery(function(){ <& /Elements/LoginHelp &> % $m->callback( %ARGS, CallbackName => 'AfterForm' ); - +% # Omit closing div for login-body because Footer adds a closing div, +% # normally for the PageLayout template <& /Elements/Footer, Menu => 0 &> <%ARGS> $next => '' diff --git a/share/html/NoAuth/Logout.html b/share/html/NoAuth/Logout.html index beee12955a3..c6a6fa2fe95 100644 --- a/share/html/NoAuth/Logout.html +++ b/share/html/NoAuth/Logout.html @@ -61,7 +61,9 @@ % $m->callback( %ARGS ); - + +% # Omit closing div for login-body because Footer adds a closing div, +% # normally for the PageLayout template <& /Elements/Footer, Menu => 0 &> % $m->abort();