Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1590:198dbefc1d5a | 1591:21312a7564fd |
|---|---|
| 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"> | |
| 16 | |
| 17 <tr> | |
| 18 <th nowrap>Author</th> | |
| 19 <td tal:content="context/author"></td> | |
| 20 </tr> | |
| 21 | |
| 22 <tr> | |
| 23 <th nowrap>Recipients</th> | |
| 24 <td tal:content="context/recipients"></td> | |
| 25 </tr> | |
| 26 | |
| 27 <tr> | |
| 28 <th nowrap>Date</th> | |
| 29 <td tal:content="context/date"></td> | |
| 30 </tr> | |
| 31 </table> | |
| 32 | |
| 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> | |
| 39 | |
| 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> | |
| 54 | |
| 55 <tal:block tal:replace="structure context/history" /> | |
| 56 </td> | |
| 57 | |
| 58 </tal:block> |
