Mercurial > hg > MPIWGWeb
diff zpt/project/edit_basic.zpt @ 63:fd6931bd49c8
more cleaning up projects.
author | casties |
---|---|
date | Fri, 03 May 2013 11:30:41 +0200 |
parents | 04fb655633ef |
children | 7288e7729960 |
line wrap: on
line diff
--- a/zpt/project/edit_basic.zpt Fri May 03 10:16:47 2013 +0200 +++ b/zpt/project/edit_basic.zpt Fri May 03 11:30:41 2013 +0200 @@ -46,16 +46,15 @@ value python:here.getCompletedAt()" type="text" len="15" /> (format dd.mm.yyyy or mm.yyyy or yyyy)</td> </tr> - </table> - <h2>Names</h2> - <table tal:define="global count python:0"> + <table tal:define="global count python:0; + identifiedNames python:here.identifyNames(here.getResponsibleScientists());"> <tr> <th>Name in project</th><th>MPIWG member object</th> </tr> - <tr tal:repeat="identifiedName python:options.get('identifiedNames',{}).items()"> + <tr tal:condition="identifiedNames" tal:repeat="identifiedName identifiedNames/items"> <tal:x tal:define="global count python:count+1" /> <td><input type="hidden" tal:attributes="value python:identifiedName[0]; name python:'responsibleScientist_name_%s'%count" /> <span