Mercurial > p > roundup > code
view templates/classic/html/msg.item.html @ 1739:c3f0b552a55a
batch the (list) listings at 500 entries per page [SF#759906]
Unfortunately, the doovy javascript falls over when the next/prev links are
used, so I've added some simple checking to remove that stuff when we're paging
through the results (the simple test fails if you page back to the first
page, but it'll do for now)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 12 Aug 2003 02:10:12 +0000 |
| parents | 21312a7564fd |
| children | fad32dafc174 10bb5de34eec |
line wrap: on
line source
<!-- dollarId: msg.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar--> <tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title"> <span tal:replace="config/TRACKER_NAME" />: <span tal:condition="context/id" tal:replace="string:Message ${context/id}" /> <tal:x tal:condition="not:context/id">New Message</tal:x> </title> <td class="page-header-top" metal:fill-slot="body_title"> <h2> Message<span tal:replace="context/id" /> <tal:x tal:condition="context/is_edit_ok">Editing</tal:x> </h2> </td> <td class="content" metal:fill-slot="content"> <table class="form"> <tr> <th nowrap>Author</th> <td tal:content="context/author"></td> </tr> <tr> <th nowrap>Recipients</th> <td tal:content="context/recipients"></td> </tr> <tr> <th nowrap>Date</th> <td tal:content="context/date"></td> </tr> </table> <table class="messages"> <tr><th colspan=2 class="header">Content</th></tr> <tr> <td class="content" colspan=2><pre tal:content="context/content"></pre></td> </tr> </table> <table class="files" tal:condition="context/files"> <tr><th colspan="2" class="header">Files</th></tr> <tr><th>File name</th><th>Uploaded</th></tr> <tr tal:repeat="file context/files"> <td> <a tal:attributes="href string:file${file/id}/${file/name}" tal:content="file/name">dld link</a> </td> <td> <span tal:content="file/creator">creator's name</span>, <span tal:content="file/creation">creation date</span> </td> </tr> </table> <tal:block tal:replace="structure context/history" /> </td> </tal:block>
