view templates/classic/html/msg.item.html @ 2077:3e0961d6d44d

Added the "actor" property. Metakit backend not done (still not confident I know how it's supposed to work ;) Currently it will come up as NULL in the RDBMS backends for older items. The *dbm backends will look up the journal. I hope to remedy the former before 0.7's release. Fixed a bunch of migration issues in the rdbms backends while I was at it (index changes for key prop changes) and simplified the class table update code for RDBMSes that have "alter table" in their command set (ie. not sqlite) ... migration from "version 1" to "version 2" still hasn't actually been tested yet though.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 15 Mar 2004 05:50:20 +0000
parents 3a4abf6d48c2
children 3b92a1b7a056
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> 
<span metal:fill-slot="body_title" tal:omit-tag="python:1">
  Message<span tal:replace="context/id" />
   <tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
 </span>
<td class="content" metal:fill-slot="content">
<table class="form">

<tr>
 <th>Author</th>
 <td tal:content="context/author"></td>
</tr>

<tr>
 <th>Recipients</th>
 <td tal:content="context/recipients"></td>
</tr>

<tr>
 <th>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/