Mercurial > p > roundup > code
diff templates/classic/html/msg.item.html @ 1591:21312a7564fd
moving templates around
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 17 Apr 2003 03:38:00 +0000 |
| parents | |
| children | fad32dafc174 10bb5de34eec |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/classic/html/msg.item.html Thu Apr 17 03:38:00 2003 +0000 @@ -0,0 +1,58 @@ +<!-- 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>
