Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Brandt <jbrandt@bestpractical.com>2021-01-27 17:18:59 +0300
committersunnavy <sunnavy@bestpractical.com>2021-01-29 16:54:13 +0300
commit6b3f75f80b5f7b2b8d59f0259de696e8ebed25d3 (patch)
tree23f89c714115cfacb16bdecda44cd19717943153
parentece459fa43170ddfdd228a3a44ed526e42236827 (diff)
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
-rw-r--r--share/html/Elements/Login3
-rw-r--r--share/html/NoAuth/Logout.html4
2 files changed, 5 insertions, 2 deletions
diff --git a/share/html/Elements/Login b/share/html/Elements/Login
index 6181394288..b53f13a77f 100644
--- a/share/html/Elements/Login
+++ b/share/html/Elements/Login
@@ -100,7 +100,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 => ''
diff --git a/share/html/NoAuth/Logout.html b/share/html/NoAuth/Logout.html
index beee12955a..c6a6fa2fe9 100644
--- a/share/html/NoAuth/Logout.html
+++ b/share/html/NoAuth/Logout.html
@@ -61,7 +61,9 @@
% $m->callback( %ARGS );
-</div></div>
+</div>
+% # Omit closing div for login-body because Footer adds a closing div,
+% # normally for the PageLayout template
<& /Elements/Footer, Menu => 0 &>
% $m->abort();