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:51:26 +0300
commitc24aeeedd635cf53b022e60ed6bf9fa5b839b000 (patch)
tree07b725ccadd8e6fe33e2e37ed72b2bcf3ff5bb53
parent3697842dd86c9eaa5977697d5aebea4a5d81fbaf (diff)
Remove extra closing div on Login/Logout pagesrt-5.0.1
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 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 => ''
diff --git a/share/html/NoAuth/Logout.html b/share/html/NoAuth/Logout.html
index 9b81f311f0..8dad1a6b7a 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();