[Python-checkins] r88800 - tracker/instances/python-dev/html/user.item.html
martin.v.loewis
python-checkins at python.org
Thu Mar 24 09:45:07 CET 2011
Author: martin.v.loewis
Date: Thu Mar 24 09:45:07 2011
New Revision: 88800
Log:
Fix form name for calendar popup.
Modified:
tracker/instances/python-dev/html/user.item.html
Modified: tracker/instances/python-dev/html/user.item.html
==============================================================================
--- tracker/instances/python-dev/html/user.item.html (original)
+++ tracker/instances/python-dev/html/user.item.html Thu Mar 24 09:45:07 2011
@@ -42,6 +42,7 @@
<div tal:condition="context/is_view_ok">
<form method="POST"
+ name="userdetails"
tal:define="required python:'username address'.split()"
enctype="multipart/form-data"
tal:attributes="action context/designator;
@@ -110,9 +111,13 @@
<tr>
<th>Contributor Form Received</th>
<td><span tal:replace="structure context/contrib_form/field"/>
- <tal:if condition="python:context.contrib_form or utils.is_coordinator(request)">
+ <tal:if condition="python:context.contrib_form and not utils.is_coordinator(request)">
on: <span tal:replace="structure context/contrib_form_date/field"/>
</tal:if>
+ <tal:if condition="python:utils.is_coordinator(request)">
+ <span tal:replace="structure python:context.contrib_form_date.field(popcal=False)"/>
+ <span tal:replace="structure python:context.contrib_form_date.popcal(form='userdetails')"/>
+ </tal:if>
</td>
</tr>
More information about the Python-checkins
mailing list