[CMF-checkins] CVS: CMF/CMFWiki/skins/zpt_wiki - wiki_recentchanges.pt:1.5
Ken Manheimer
klm@zope.com
Thu, 7 Feb 2002 11:04:06 -0500
Update of /cvs-repository/CMF/CMFWiki/skins/zpt_wiki
In directory cvs.zope.org:/tmp/cvs-serv19733
Modified Files:
wiki_recentchanges.pt
Log Message:
Include last log message, if any, after page entry.
=== CMF/CMFWiki/skins/zpt_wiki/wiki_recentchanges.pt 1.4 => 1.5 ===
>
-<p> Most recently changed pages in this CMFWikiWeb. See also
+<h3> <em tal:content="here/getId">PageID</em> Changes </h3>
+
+<p> Wiki page changes, most recent to least. See also
<a href="wiki_allpages">All Pages</a>.
</p>
<table border="0">
- <tr>
- <th align="left"> Page </th>
- <th align="left"> Size </th>
- <th align="left"> By </th>
- <th align="left"> Modified </th>
- </tr>
-
- <tr tal:repeat="page pages">
-
- <td>
- <a href="PageID"
- tal:attributes="href page/getId"
- tal:content="page/getId"
- >PageID</a>
- </td>
- <td align="left" tal:content="page/getSize">
- 1234
- </td>
- <td tal:content="python: (page.last_editor or page.Creator())[:15]">
- LAST EDITOR
- </td>
- <td tal:content="python: page.bobobase_modification_time().aCommon()">
- 2001/01/01 08:00:00 CST
- </td>
- </tr>
+ <tr>
+ <th align="left"> Page </th>
+ <th align="left"> Size </th>
+ <th align="left"> By </th>
+ <th align="left"> Modified </th>
+ </tr>
+
+
+ <tbody tal:repeat="page pages">
+
+ <tr>
+
+ <td>
+ <a href="PageID"
+ tal:attributes="href page/getId"
+ tal:content="page/getId"
+ >PageID</a>
+ </td>
+ <td align="left" tal:content="page/getSize">
+ 1234
+ </td>
+ <td tal:content="python: (page.last_editor or page.Creator())[:15]">
+ LAST EDITOR
+ </td>
+ <td tal:content="python: page.bobobase_modification_time().aCommon()">
+ 2001/01/01 08:00:00 CST
+ </td>
+ </tr>
+ <tr tal:condition="page/last_log">
+ <td colspan=4>
+ <font color="gray">
+ <span tal:replace="python: page.last_log[:70]"> LAST LOG </span>
+ </font>
+ </td>
+ </tr>
+ </tbody>
</table>
<p> (<span tal:content="python: len( pages )">123</span> pages) </p>