[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] rt branch, 5.0/align-time-to-display-in-footer, created. rt-5.0.0-62-g4013310324
From:       blaine () bestpractical ! com (Blaine Motsinger)
Date:       2020-10-29 23:48:29
Message-ID: 20201029234829.A64182418004 () booth ! bestpractical ! com
[Download RAW message or body]

The branch, 5.0/align-time-to-display-in-footer has been created
        at  4013310324a42352f82620c3dba30e02c5ec2cff (commit)

- Log -----------------------------------------------------------------
commit 4013310324a42352f82620c3dba30e02c5ec2cff
Author: Blaine Motsinger <blaine@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', \
'&#187;&#124;&#171;', '<a href="https://bestpractical.com/about">Best Practical \
Solutions, LLC</a>', &>Copyright 1996-[_1] [_2] [_3].</&></span></p>

-----------------------------------------------------------------------
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic