summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c9aaec)
raw | patch | inline | side by side (parent: 7c9aaec)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 17 Mar 2004 06:30:57 +0000 (06:30 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 17 Mar 2004 06:30:57 +0000 (06:30 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2149 57a73879-2fb5-44c3-a270-3262357dd7e2
templates/classic/html/page.html | patch | blob | history |
index 0ed200c4a4ee545c13a6e50575237d1c5bdb90b4..916d35f96804e7224144b33b503e4e0c485a131b 100644 (file)
</form>
<p class="classblock"
- tal:condition="python:request.user.hasPermission('View', 'keyword')">
+ tal:condition="python:request.user.hasPermission('Edit', 'keyword')">
<b>Keywords</b><br>
- <a tal:condition="python:request.user.hasPermission('Edit', 'keyword')"
- href="keyword?@template=item">Create New<br></a>
- <a tal:condition="python:request.user.hasPermission('Edit', 'keyword') and
- len(db.keyword.list())"
+ <a href="keyword?@template=item">Create New<br></a>
+ <a tal:condition="db/keyword/list"
href="keyword?@template=item">Edit Existing<br></a>
</p>