version 1.1.2.4, 2005/10/19 15:16:14
|
version 1.1.2.6, 2006/09/13 08:17:33
|
Line 32
|
Line 32
|
</tal:block></td> |
</tal:block></td> |
</tr> |
</tr> |
</tal:block> |
</tal:block> |
|
<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"> |
|
</td> |
|
<td tal:condition="not:python:here.isActiveProject()"> |
|
<input tal:attributes="name python:'active'" value="true" type="checkbox"> |
|
<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> |