Code

more installation doc cleanups
[roundup.git] / roundup / templates / classic / html / msg.item
index 2320531b050106f46be0bbf11ccef059b631e4fc..49e203a411428a557c24f6dd8548f865daa0e245 100644 (file)
@@ -1,33 +1,58 @@
 <!-- dollarId: msg.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
-<table border=0 cellspacing=0 cellpadding=2>
+<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 bgcolor="ffffea">
   <td width=1% nowrap align=right><span class="form-label">Author</span></td>
   <td class="form-text"><display call="plain('author')"></td>
+<tr>
<th nowrap>Author</th>
<td tal:content="context/author"></td>
 </tr>
 
-<tr bgcolor="ffffea">
   <td width=1% nowrap align=right><span class="form-label">Recipients</span></td>
   <td class="form-text"><display call="plain('recipients')"></td>
+<tr>
<th nowrap>Recipients</th>
<td tal:content="context/recipients"></td>
 </tr>
 
-<tr bgcolor="ffffea">
   <td width=1% nowrap align=right><span class="form-label">Date</span></td>
   <td class="form-text"><display call="plain('date')"></td>
+<tr>
<th nowrap>Date</th>
<td tal:content="context/date"></td>
 </tr>
+</table>
 
-<tr bgcolor="ffeaff">
- <td colspan=2 class="form-text">
-  <pre><display call="plain('content', escape=1)"></pre>
- </td>
-</tr>
+<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>
 
-<property name="files">
-<tr class="strong-header"><td colspan=2><b>Files</b></td></tr>
-<tr><td colspan=2><display call="list('files')"></td></tr>
-</property>
+<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>
 
-<tr class="history-header"><td colspan=2><b>History</b></td><tr>
-<tr><td colspan=2><display call="history()"></td></tr>
+<tal:block tal:replace="structure context/history" />
+</td>
 
-</table>
+</tal:block>