version 1.1.2.10, 2008/06/24 07:55:05
|
version 1.1.2.12, 2008/09/02 12:00:06
|
Line 43
|
Line 43
|
</tr> |
</tr> |
--> |
--> |
<tr tal:define="hasChildren python:here.hasChildren()"> |
<tr tal:define="hasChildren python:here.hasChildren()"> |
<td>Project is active</td> |
<td>Project is visible</td> |
<tal:x tal:condition="python:hasChildren and here.isActiveProject()" > |
<tal:x tal:condition="python:hasChildren and here.isActiveProject()" > |
<td>active (status cannot be changed, because the project has active children.) |
<td>visible (status cannot be changed, because the project has visible children.) |
<input tal:attributes="name python:'active'" value="true" type="hidden"> |
<input tal:attributes="name python:'active'" value="true" type="hidden"> |
</td> |
</td> |
</tal:x> |
</tal:x> |
<tal:x tal:condition="python:(not hasChildren) or (hasChildren and not here.isActiveProject())"> |
<tal:x tal:condition="python:(not hasChildren) or (hasChildren and not here.isActiveProject())"> |
<td tal:condition="python:here.isActiveProject()" > |
<td tal:condition="python:here.isActiveProject()" > |
<input tal:attributes="name python:'active'" value="true" checked type="checkbox"> |
<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> |
<td tal:condition="not:python:here.isActiveProject()"> |
<td tal:condition="not:python:here.isActiveProject()"> |
<input tal:attributes="name python:'active'" value="true" type="checkbox"> |
<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" > |
<tal:x tal:condition="python:hasChildren" > |
WARNING: This project is not active, but has active children. |
WARNING: This project is not visible, but has visible children. |
</tal:x> |
</tal:x> |
</td> |
</td> |
</tal:x> |
</tal:x> |
</tr> |
</tr> |
|
<tr> |
|
<td>Completed at:</td> |
|
<td> |
|
<input tal:attributes="name python:'completedAt'; |
|
value python:here.getCompletedAt()" |
|
type="text" len="15"/> |
|
(format dd.mm.yyyy or mm.yyyy or yyyy) |
|
</td> |
|
</tr> |
|
<tr> |
|
<td>Startet at:</td> |
|
<td> |
|
<input tal:attributes="name python:'startedAt'; |
|
value python:here.getStartedAt()" |
|
type="text" len="15"/> |
|
(format dd.mm.yyyy or mm.yyyy or yyyy) |
|
</td> |
|
</tr> |
|
|
</table> |
</table> |
|
|
|
|
Line 79
|
Line 89
|
|
|
<tr tal:repeat="identifiedName python:options.get('identifiedNames',{}).items()"> |
<tr tal:repeat="identifiedName python:options.get('identifiedNames',{}).items()"> |
<tal:x tal:define="global count python:count+1"/> |
<tal:x tal:define="global count python:count+1"/> |
<td><input type="hidden" tal:attributes="value python:identifiedName[0]; |
<td><input type="hidden" tal:attributes="value python:here.decode(identifiedName[0]); |
name python:'responsibleScientist_name_%s'%count"/> |
name python:'responsibleScientist_name_%s'%count"/> |
<span tal:replace="python:identifiedName[0]"/></td> |
<span tal:replace="python:identifiedName[0]"/></td> |
<td> |
<td> |
<table> |
<table> |
<tr tal:repeat="member python:identifiedName[1]"> |
<tr tal:repeat="member python:identifiedName[1]"> |
<tal:y define="memberObj member/getObject"> |
<tal:y define="memberObj member/getObject"> |
<td tal:content="python:memberObj.getKey()"/> |
<td tal:content="python:here.decode(memberObj.getKey())"/> |
<td tal:content="python:memberObj.getId()"/> |
<td tal:content="python:memberObj.getId()"/> |
<tal:x condition="python:here.isResponsibleScientist(memberObj.getKey())"> |
<tal:x condition="python:here.isResponsibleScientist(memberObj.getKey())"> |
<td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count; |
<td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count; |
value memberObj/getKey" |
value python:here.decode(memberObj.getKey())" |
checked/></td> |
checked/></td> |
|
|
</tal:x> |
</tal:x> |
<tal:x condition="not:python:here.isResponsibleScientist(memberObj.getKey())"> |
<tal:x condition="not:python:here.isResponsibleScientist(memberObj.getKey())"> |
<td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count; |
<td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count; |
value memberObj/getKey" |
value python:here.decode(memberObj.getKey())" |
/></td> |
/></td> |
|
|
</tal:x> |
</tal:x> |