view templates/classic/html/msg.item.html @ 2080:aee415589d2c maint-0.6

simpler test
author Richard Jones <richard@users.sourceforge.net>
date Wed, 17 Mar 2004 06:30:57 +0000
parents 21312a7564fd
children fad32dafc174 10bb5de34eec
line wrap: on
line source

<!-- 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>

Roundup Issue Tracker: http://roundup-tracker.org/