diff templates/classic/html/issue.item.html @ 1765:14a2f1529759

fix CGI editCSV action to handle metakit's integer itemids - apply fix for "remove" links from Klamer Schutte - added permission check on "remove" link while I was there..
author Richard Jones <richard@users.sourceforge.net>
date Thu, 28 Aug 2003 01:39:15 +0000
parents 4f945b328b59
children 5f15fb95180c
line wrap: on
line diff
--- a/templates/classic/html/issue.item.html	Wed Aug 27 17:34:57 2003 +0000
+++ b/templates/classic/html/issue.item.html	Thu Aug 28 01:39:15 2003 +0000
@@ -140,7 +140,8 @@
     <th tal:content="string:Author: ${msg/author}">author</th>
     <th tal:content="string:Date: ${msg/date}">date</th>
     <th>
-     <a tal:attributes="href string:?:remove:messages=${msg/id}&:action=edit">remove</a>
+     <a tal:condition="context/is_edit_ok"
+        tal:attributes="href string:issue${context/id}?:remove:messages=${msg/id}&:action=edit">remove</a>
     </th>
    </tr>
    <tr>

Roundup Issue Tracker: http://roundup-tracker.org/