Code

- replaced the content() callback ickiness with Page Template macro usage
[roundup.git] / roundup / templates / classic / html / msg.item
1 <!-- dollarId: msg.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/page">
3 <title metal:fill-slot="head_title">Message editing</title>
4 <td class="page-header-top" metal:fill-slot="body_title">
5  <h2>Message editing</h2>
6 </td>
7 <td class="content" metal:fill-slot="content">
8 <table class="form">
10 <tr>
11  <th nowrap>Author</th>
12  <td tal:content="context/author"></td>
13 </tr>
15 <tr>
16  <th nowrap>Recipients</th>
17  <td tal:content="context/recipients"></td>
18 </tr>
20 <tr>
21  <th nowrap>Date</th>
22  <td tal:content="context/date"></td>
23 </tr>
24 </table>
26 <table class="messages">
27  <tr><th colspan=2 class="header">Content</th></tr>
28  <tr>
29   <td class="content" colspan=2><pre tal:content="context/content"></pre></td>
30  </tr>
31 </table>
33 <table class="files" tal:condition="context/files">
34  <tr><th colspan="2" class="header">Files</th></tr>
35  <tr><th>File name</th><th>Uploaded</th></tr>
36  <tr tal:repeat="file context/files">
37   <td>
38    <a tal:attributes="href string:file${file/id}/${file/name}"
39       tal:content="file/name">dld link</a>
40   </td>
41   <td>
42    <span tal:content="file/creator">creator's name</span>,
43    <span tal:content="file/creation">creation date</span>
44   </td>
45  </tr>
46 </table>
48 <tal:block tal:replace="structure context/history" />
49 </td>
51 </tal:block>