[Zope-Checkins] SVN: Zope/trunk/src/Products/SiteErrorLog/www/ chameleon compatibility

Nikolay Kim fafhrd91 at gmail.com
Mon Jul 18 14:42:54 EDT 2011


Log message for revision 122280:
  chameleon compatibility

Changed:
  U   Zope/trunk/src/Products/SiteErrorLog/www/main.pt
  U   Zope/trunk/src/Products/SiteErrorLog/www/showEntry.pt

-=-
Modified: Zope/trunk/src/Products/SiteErrorLog/www/main.pt
===================================================================
--- Zope/trunk/src/Products/SiteErrorLog/www/main.pt	2011-07-18 18:41:34 UTC (rev 122279)
+++ Zope/trunk/src/Products/SiteErrorLog/www/main.pt	2011-07-18 18:42:54 UTC (rev 122280)
@@ -73,7 +73,7 @@
  </tr>
  <tr tal:repeat="entry entries">
   <td valign="top" nowrap="nowrap">
-   <span tal:content="python: DateTime(entry['time']).Time()">13:04:41</span>
+   <span tal:content="python: modules['DateTime'].DateTime(entry['time']).Time()">13:04:41</span>
   </td>
   <td>
    <span tal:content="string: ${entry/username} (${entry/userid})">

Modified: Zope/trunk/src/Products/SiteErrorLog/www/showEntry.pt
===================================================================
--- Zope/trunk/src/Products/SiteErrorLog/www/showEntry.pt	2011-07-18 18:41:34 UTC (rev 122279)
+++ Zope/trunk/src/Products/SiteErrorLog/www/showEntry.pt	2011-07-18 18:42:54 UTC (rev 122280)
@@ -20,7 +20,7 @@
 <table>
  <tr>
   <th align="left" valign="top">Time</th>
-  <td tal:content="python: DateTime(entry['time'])"></td>
+  <td tal:content="python: modules['DateTime'].DateTime(entry['time'])"></td>
  </tr>
  <tr>
   <th align="left" valign="top">User Name (User Id)</th>



More information about the Zope-Checkins mailing list