[Python-checkins] r56821 - tracker/instances/python-dev/html/issue.item.html
erik.forsberg
python-checkins at python.org
Wed Aug 8 07:41:41 CEST 2007
Author: erik.forsberg
Date: Wed Aug 8 07:41:41 2007
New Revision: 56821
Modified:
tracker/instances/python-dev/html/issue.item.html
Log:
Be more restrictive - don't show remove buttons if user may not edit
file/msg.
Modified: tracker/instances/python-dev/html/issue.item.html
==============================================================================
--- tracker/instances/python-dev/html/issue.item.html (original)
+++ tracker/instances/python-dev/html/issue.item.html Wed Aug 8 07:41:41 2007
@@ -212,7 +212,7 @@
tal:attributes="href string:file${file/id}">edit</a>
</td>
<td>
- <form style="padding:0" tal:condition="context/is_edit_ok"
+ <form style="padding:0" tal:condition="file/is_edit_ok"
tal:attributes="action string:issue${context/id}">
<input type="hidden" name="@remove at files" tal:attributes="value file/id">
<input type="hidden" name="@action" value="edit">
@@ -233,7 +233,7 @@
<th i18n:translate="">Date: <tal:x replace="msg/date"
i18n:name="date" /></th>
<th>
- <form style="padding:0" tal:condition="context/is_edit_ok"
+ <form style="padding:0" tal:condition="msg/is_edit_ok"
tal:attributes="action string:issue${context/id}">
<input type="hidden" name="@remove at messages" tal:attributes="value msg/id">
<input type="hidden" name="@action" value="edit">
More information about the Python-checkins
mailing list