[Rt-commit] rt branch, 5.0/login-closing-div, created. rt-5.0.0-231-g696532f1b4

Jim Brandt jbrandt at bestpractical.com
Wed Jan 27 09:22:55 EST 2021


The branch, 5.0/login-closing-div has been created
        at  696532f1b4386a9756980705f6a0a99d84c495c6 (commit)

- Log -----------------------------------------------------------------
commit 696532f1b4386a9756980705f6a0a99d84c495c6
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Jan 27 09:18:59 2021 -0500

    Remove extra closing div on Login page
    
    The Footer template adds a closing div, normally
    for the PageLayout template, so Login can omit the
    closing div for the "body" to follow the same pattern.
    
    Fixes: I#37049

diff --git a/share/html/Elements/Login b/share/html/Elements/Login
index 5c1db74fd8..cb599f62e7 100644
--- a/share/html/Elements/Login
+++ b/share/html/Elements/Login
@@ -112,7 +112,8 @@ jQuery(function(){
 <& /Elements/LoginHelp &>
 </div><!-- #login-box -->
 % $m->callback( %ARGS, CallbackName => 'AfterForm' );
-</div><!-- #login-body -->
+% # Omit closing div for login-body because Footer adds a closing div,
+% # normally for the PageLayout template
 <& /Elements/Footer, Menu => 0 &>
 <%ARGS>
 $next => ''

-----------------------------------------------------------------------


More information about the rt-commit mailing list