SVN: Zope/trunk/src/Products/SiteErrorLog/www/ chameleon compatibility

Nikolay Kim <[email protected]>
Newsgroups gmane.comp.web.zope.cvs
Message-ID <[email protected]>
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>

_______________________________________________
Zope-Checkins maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.