[Python-checkins] r71866 - in tracker/instances/python-dev: detectors/nosyreaction.py html/_generic.help-list.html html/_generic.help.html html/issue.item.html html/user.index.html
martin.v.loewis
python-checkins at python.org
Sat Apr 25 11:01:14 CEST 2009
Author: martin.v.loewis
Date: Sat Apr 25 11:01:13 2009
New Revision: 71866
Log:
Issue #270: Upgrade to Roundup 1.4.8.
Modified:
tracker/instances/python-dev/detectors/nosyreaction.py
tracker/instances/python-dev/html/_generic.help-list.html
tracker/instances/python-dev/html/_generic.help.html
tracker/instances/python-dev/html/issue.item.html
tracker/instances/python-dev/html/user.index.html
Modified: tracker/instances/python-dev/detectors/nosyreaction.py
==============================================================================
--- tracker/instances/python-dev/detectors/nosyreaction.py (original)
+++ tracker/instances/python-dev/detectors/nosyreaction.py Sat Apr 25 11:01:13 2009
@@ -1,11 +1,10 @@
-import sets
from roundup import roundupdb, hyperdb
def updatenosy(db, cl, nodeid, newvalues):
'''Update the nosy list for changes to the assignee
'''
# nodeid will be None if this is a new node
- current_nosy = sets.Set()
+ current_nosy = set()
if nodeid is None:
ok = ('new', 'yes')
else:
@@ -26,7 +25,7 @@
continue
current_nosy.add(value)
- new_nosy = sets.Set(current_nosy)
+ new_nosy = set(current_nosy)
# add assignee(s) to the nosy list
if newvalues.has_key('assignee') and newvalues['assignee'] is not None:
Modified: tracker/instances/python-dev/html/_generic.help-list.html
==============================================================================
--- tracker/instances/python-dev/html/_generic.help-list.html (original)
+++ tracker/instances/python-dev/html/_generic.help-list.html Sat Apr 25 11:01:13 2009
@@ -64,7 +64,7 @@
<td tal:repeat="prop props">
<label class="classhelp-label"
tal:attributes="for string:id_$attr"
- tal:content="structure python:item[prop]"></label>
+ tal:content="python:item[prop]"></label>
</td>
</tal:block>
</tr>
Modified: tracker/instances/python-dev/html/_generic.help.html
==============================================================================
--- tracker/instances/python-dev/html/_generic.help.html (original)
+++ tracker/instances/python-dev/html/_generic.help.html Sat Apr 25 11:01:13 2009
@@ -93,7 +93,7 @@
<td tal:repeat="prop props">
<label class="classhelp-label"
tal:attributes="for string:id_$attr"
- tal:content="structure python:item[prop]"></label>
+ tal:content="python:item[prop]"></label>
</td>
</tal:block>
</tr>
@@ -149,7 +149,7 @@
<td tal:repeat="prop props">
<label class="classhelp-label"
tal:attributes="for string:id_$attr"
- tal:content="structure python:item[prop]"></label>
+ tal:content="python:item[prop]"></label>
</td>
</tal:block>
</tr>
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 Sat Apr 25 11:01:13 2009
@@ -216,7 +216,7 @@
tal:attributes="href string:file${file/id}">edit</a>
</td>
<td>
- <form style="padding:0" tal:condition="file/is_edit_ok"
+ <form style="padding:0" method="post" 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">
@@ -239,7 +239,7 @@
<th i18n:translate="">Date: <tal:x replace="python:msg.date.pretty('%Y-%m-%d %H:%M')"
i18n:name="date" /></th>
<th>
- <form style="padding:0" tal:condition="msg/is_edit_ok"
+ <form style="padding:0" method="post" 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">
Modified: tracker/instances/python-dev/html/user.index.html
==============================================================================
--- tracker/instances/python-dev/html/user.index.html (original)
+++ tracker/instances/python-dev/html/user.index.html Sat Apr 25 11:01:13 2009
@@ -62,9 +62,13 @@
<td tal:content="python:user.organisation.plain() or default"> </td>
<td tal:content="python:user.address.email() or default"> </td>
<td tal:content="python:user.phone.plain() or default"> </td>
- <td tal:condition="context/is_edit_ok">
- <a tal:attributes="href string:user${user/id}?@action=retire&@template=index"
- i18n:translate="">retire</a>
+ <td tal:condition="context/is_retire_ok">
+ <form style="padding:0" method="post"
+ tal:attributes="action string:user${user/id}">
+ <input type="hidden" name="@template" value="index">
+ <input type="hidden" name="@action" value="retire">
+ <input type="submit" value="retire" i18n:attributes="value">
+ </form>
</td>
</tr>
</tal:block>
More information about the Python-checkins
mailing list