version 1.1.2.4, 2005/10/19 15:16:14
|
version 1.1.2.9, 2008/06/18 11:29:26
|
Line 32
|
Line 32
|
</tal:block></td> |
</tal:block></td> |
</tr> |
</tr> |
</tal:block> |
</tal:block> |
|
<!-- <tr> |
|
<td><b>Historical names (new)</b><br/> |
|
Please names enter as <br> |
|
LASTNAME,FIRSTNAME <br/>or LASTNAME,FIRSTNAME MIDDLE.. <br> with |
|
<em>no space</em> before FIRSTNAME |
|
</td> |
|
<td><textarea name="historicalNames" tal:content="python:'\n'.join(here.getNamesInProject(here.getId()))" rows="10" cols="30">NAMES</textarea> |
|
</td> |
|
</tr> |
|
--> |
|
<tr tal:define="hasChildren python:here.hasChildren()"> |
|
<td>Project is active</td> |
|
<tal:x tal:condition="python:hasChildren and here.isActiveProject()" > |
|
<td>active (status cannot be changed, because the project has active children.) |
|
<input tal:attributes="name python:'active'" value="true" type="hidden"> |
|
</td> |
|
</tal:x> |
|
<tal:x tal:condition="python:(not hasChildren) or (hasChildren and not here.isActiveProject())"> |
|
<td tal:condition="python:here.isActiveProject()" > |
|
<input tal:attributes="name python:'active'" value="true" checked type="checkbox"> |
|
Completed at: |
|
<input tal:attributes="name python:'completedAt'; |
|
value python:here.getCompletedAt()" |
|
type="text" len="15"> |
|
(format dd.mm.yyyy or mm.yyyy or yyyy) |
|
</td> |
|
<td tal:condition="not:python:here.isActiveProject()"> |
|
<input tal:attributes="name python:'active'" value="true" type="checkbox"> |
|
<input tal:attributes="name python:'completedAt'; |
|
value python:here.getCompletedAt()" |
|
type="text" len="15"> |
|
|
|
(format dd.mm.yyyy or mm.yyyy or yyyy) |
|
<tal:x tal:condition="python:hasChildren" > |
|
WARNING: This project is not active, but has active children. |
|
</tal:x> |
|
</td> |
|
</tal:x> |
|
</tr> |
</table> |
</table> |
<p><input type="submit" value="change"/></p> |
<p><input type="submit" value="change"/></p> |
</form> |
</form> |