Mercurial > p > roundup > code
view templates/classic/html/msg.index.html @ 3117:460eb0209a9e
Permissions improvements.
- have Permissions only test the check function if itemid is suppled
- modify index templates to check for row-level Permission
- more documentation of security mechanisms
- better unit tests for security mechanisms
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 28 Jan 2005 03:51:19 +0000 |
| parents | 97f810f39d16 |
| children | a2889d22db4a |
line wrap: on
line source
<tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title" i18n:translate="" >List of messages - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker"/></title> <span metal:fill-slot="body_title" tal:omit-tag="python:1" i18n:translate="">Message listing</span> <td class="content" metal:fill-slot="content"> <table class="messages" tal:condition="request/filter"> <tr><th colspan=2 class="header" i18n:translate="">Messages</th></tr> <tal:block tal:repeat="msg context/list"> <tal:block tal:condition="msg/is_view_ok"> <tr> <th tal:content="string:Author: ${msg/author}">author</th> <th tal:content="string:Date: ${msg/date}">date</th> </tr> <tr> <td colspan="2"><pre tal:content="msg/content">content</pre></td> </tr> </tal:block> </tal:block> </table> </td> </tal:block>
