[Rt-commit] rt branch, 5.0/align-time-to-display-in-footer, created. rt-5.0.0-62-g4013310324
Blaine Motsinger
blaine at bestpractical.com
Thu Oct 29 19:48:29 EDT 2020
The branch, 5.0/align-time-to-display-in-footer has been created
at 4013310324a42352f82620c3dba30e02c5ec2cff (commit)
- Log -----------------------------------------------------------------
commit 4013310324a42352f82620c3dba30e02c5ec2cff
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Thu Oct 29 18:45:26 2020 -0500
Align "Time to display" in footer
This commit fixes the alignment of the undocumented
"Time to display" output in the footer. To enable, add the
following CSS to the Custom CSS in Admin > Tools > Theme.
div#footer #time {
display: inline;
}
diff --git a/share/html/Elements/Footer b/share/html/Elements/Footer
index f65a192422..aea5948b0e 100644
--- a/share/html/Elements/Footer
+++ b/share/html/Elements/Footer
@@ -50,14 +50,16 @@
</div>
% $m->callback( %ARGS );
<div id="footer" title="Best Practical Solutions, LLC, copyright" class="row">
-% if ($m->{'rt_base_time'}) {
- <p id="time"><span><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></span></p>
-%}
% # display 3 columns on login page
% # display 1 column center aligned once logged in, without the "For support and sales..." section
% my $cols = ( $Menu ? '12' : '4' );
<div class="col-<% $cols %>">
- <p id="version" class="text-center <% $Menu ? 'pb-1' : 'text-md-left' %>"><span><&|/l_unsafe, $RT::VERSION, &>RT Version [_1]</&></span></p>
+ <p id="version" class="text-center <% $Menu ? 'pb-1' : 'text-md-left' %>">
+% if ($m->{'rt_base_time'}) {
+ <span id="time"><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%> -</span>
+% }
+ <span><&|/l_unsafe, $RT::VERSION, &>RT Version [_1]</&></span>
+ </p>
</div>
<div class="col-<% $cols %>">
<p id="bpscredits" class="text-center"><span><&|/l_unsafe, '2020', '»|«', '<a href="https://bestpractical.com/about">Best Practical Solutions, LLC</a>', &>Copyright 1996-[_1] [_2] [_3].</&></span></p>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list