Mercurial > p > roundup > code
comparison templates/classic/html/page.html @ 2079:6f5de386244b
simpler test
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 17 Mar 2004 06:30:57 +0000 |
| parents | 3a4abf6d48c2 |
| children | ee3cf6a44f29 |
comparison
equal
deleted
inserted
replaced
| 2078:8e13768d02af | 2079:6f5de386244b |
|---|---|
| 47 <input type="hidden" name="@action" value="show"> | 47 <input type="hidden" name="@action" value="show"> |
| 48 </p> | 48 </p> |
| 49 </form> | 49 </form> |
| 50 | 50 |
| 51 <p class="classblock" | 51 <p class="classblock" |
| 52 tal:condition="python:request.user.hasPermission('View', 'keyword')"> | 52 tal:condition="python:request.user.hasPermission('Edit', 'keyword')"> |
| 53 <b>Keywords</b><br> | 53 <b>Keywords</b><br> |
| 54 <a tal:condition="python:request.user.hasPermission('Edit', 'keyword')" | 54 <a href="keyword?@template=item">Create New<br></a> |
| 55 href="keyword?@template=item">Create New<br></a> | 55 <a tal:condition="db/keyword/list" |
| 56 <a tal:condition="python:request.user.hasPermission('Edit', 'keyword') and | |
| 57 len(db.keyword.list())" | |
| 58 href="keyword?@template=item">Edit Existing<br></a> | 56 href="keyword?@template=item">Edit Existing<br></a> |
| 59 </p> | 57 </p> |
| 60 | 58 |
| 61 <p class="classblock" | 59 <p class="classblock" |
| 62 tal:condition="python:request.user.hasPermission('View', 'user')"> | 60 tal:condition="python:request.user.hasPermission('View', 'user')"> |
