Mercurial > p > roundup > code
view templates/classic/html/msg.item.html @ 2119:cc4667ef3f12
Added the ability to toggle where error messages go.
They either go to the user (default, for backwards compatibility), the
dispatcher, or both. These are able to be toggled via settings in config.py.
Please refer to upgrading.txt for more details. (And Richard, let me know
if I've done anything wrong with this checkin. :))
| author | Eddie Parker <eparker@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Mar 2004 19:27:15 +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>
