[Rt-commit] r11979 - in rt/branches/3.8-TESTING: html/Elements

jesse at bestpractical.com jesse at bestpractical.com
Wed Apr 30 16:08:11 EDT 2008


Author: jesse
Date: Wed Apr 30 16:08:10 2008
New Revision: 11979

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/html/Elements/Footer

Log:
 r30276 at 31b:  jesse | 2008-04-30 13:44:15 -0400
 * Make the footer not try to calculate a time-to-render if the autohandler didn't set it up


Modified: rt/branches/3.8-TESTING/html/Elements/Footer
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/Footer	(original)
+++ rt/branches/3.8-TESTING/html/Elements/Footer	Wed Apr 30 16:08:10 2008
@@ -49,10 +49,11 @@
 </div>
 % $m->callback( %ARGS );
 <div id="footer">
+% if ($m->{'rt_base_time'}) {
   <p id="time">
     <span><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></span>
   </p>
-
+%}
   <p id="bpscredits">
     <span>
 <&|/l,     '&#187;&#124;&#171;', $RT::VERSION, '2008', '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>', &>[_1] RT [_2] Copyright 1996-[_3] [_4].</&>


More information about the Rt-commit mailing list