Code

moving templates around
[roundup.git] / templates / classic / html / msg.item.html
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/icing">
3 <title metal:fill-slot="head_title"> 
4 <span tal:replace="config/TRACKER_NAME" />: 
5 <span tal:condition="context/id" tal:replace="string:Message ${context/id}" />
6 <tal:x tal:condition="not:context/id">New Message</tal:x> 
7 </title> 
8 <td class="page-header-top" metal:fill-slot="body_title">
9  <h2>
10   Message<span tal:replace="context/id" />
11    <tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
12  </h2>
13 </td>
14 <td class="content" metal:fill-slot="content">
15 <table class="form">
17 <tr>
18  <th nowrap>Author</th>
19  <td tal:content="context/author"></td>
20 </tr>
22 <tr>
23  <th nowrap>Recipients</th>
24  <td tal:content="context/recipients"></td>
25 </tr>
27 <tr>
28  <th nowrap>Date</th>
29  <td tal:content="context/date"></td>
30 </tr>
31 </table>
33 <table class="messages">
34  <tr><th colspan=2 class="header">Content</th></tr>
35  <tr>
36   <td class="content" colspan=2><pre tal:content="context/content"></pre></td>
37  </tr>
38 </table>
40 <table class="files" tal:condition="context/files">
41  <tr><th colspan="2" class="header">Files</th></tr>
42  <tr><th>File name</th><th>Uploaded</th></tr>
43  <tr tal:repeat="file context/files">
44   <td>
45    <a tal:attributes="href string:file${file/id}/${file/name}"
46       tal:content="file/name">dld link</a>
47   </td>
48   <td>
49    <span tal:content="file/creator">creator's name</span>,
50    <span tal:content="file/creation">creation date</span>
51   </td>
52  </tr>
53 </table>
55 <tal:block tal:replace="structure context/history" />
56 </td>
58 </tal:block>