Mercurial > p > roundup > code
comparison website/issues/html/keyword.index.html @ 4024:c2d0d3e9099d website
svn repository setup
| author | Stefan Seefeld <stefan@users.sourceforge.net> |
|---|---|
| date | Fri, 06 Feb 2009 13:16:31 +0000 |
| parents | |
| children | 48658dcbac37 |
comparison
equal
deleted
inserted
replaced
| 4023:86c38b5aed66 | 4024:c2d0d3e9099d |
|---|---|
| 1 <tal:block metal:use-macro="templates/page/macros/icing"> | |
| 2 <title metal:fill-slot="head_title" > | |
| 3 <span tal:omit-tag="true" i18n:translate="" >List of keywords</span> | |
| 4 <span tal:condition="request/dispname" | |
| 5 tal:replace="python:' - %s '%request.dispname" | |
| 6 /> - <span tal:replace="config/TRACKER_NAME" /> | |
| 7 </title> | |
| 8 <span metal:fill-slot="body_title" tal:omit-tag="true"> | |
| 9 <span tal:omit-tag="true" i18n:translate="" >List of keywords</span> | |
| 10 <span tal:condition="request/dispname" | |
| 11 tal:replace="python:' - %s' % request.dispname" /> | |
| 12 </span> | |
| 13 <tal:block metal:fill-slot="content"> | |
| 14 | |
| 15 <p tal:condition="python:not (context.is_view_ok() | |
| 16 or request.user.hasRole('Anonymous'))" i18n:translate=""> | |
| 17 You are not allowed to view this page.</p> | |
| 18 | |
| 19 <p tal:condition="python:not context.is_view_ok() | |
| 20 and request.user.hasRole('Anonymous')" i18n:translate=""> | |
| 21 Please login with your username and password.</p> | |
| 22 | |
| 23 <table width="100%" tal:condition="context/is_view_ok" class="list"> | |
| 24 <tr> | |
| 25 <th i18n:translate="">Keyword</th> | |
| 26 <th i18n:translate="">Description</th> | |
| 27 </tr> | |
| 28 | |
| 29 <tal:block repeat="keyword context/list"> | |
| 30 <tr tal:attributes="class python:['normal', 'alt'][repeat['keyword'].index%6/3]"> | |
| 31 <td> | |
| 32 <a tal:attributes="href string:keyword${keyword/id}" | |
| 33 tal:content="keyword/name">keyword name</a> | |
| 34 </td> | |
| 35 <td tal:content="python:keyword.description.plain() or | |
| 36 default"> </td> | |
| 37 </tr> | |
| 38 </tal:block> | |
| 39 | |
| 40 <tr tal:condition="context/is_edit_ok"> | |
| 41 <td colspan="2"><a href="keyword?@template=item">New Keyword</a></td> | |
| 42 </tr> | |
| 43 </table> | |
| 44 | |
| 45 </tal:block> | |
| 46 </tal:block> |
