diff zpt/project/edit_basic.zpt @ 33:01b5265264b6

more work on projects.
author casties
date Wed, 24 Apr 2013 20:48:45 +0200
parents 5ed0b0c21fe5
children 38cbbeaf266b
line wrap: on
line diff
--- a/zpt/project/edit_basic.zpt	Tue Apr 23 20:54:02 2013 +0200
+++ b/zpt/project/edit_basic.zpt	Wed Apr 24 20:48:45 2013 +0200
@@ -32,16 +32,6 @@
               </tal:block></td>
           </tr>
         </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 visible</td>
           <tal:x tal:condition="python:hasChildren and here.isActiveProject()">
@@ -83,14 +73,12 @@
           <td>
             <table>
               <tr tal:repeat="member python:identifiedName[1]">
-                <tal:y define="memberObj member/getObject">
-                  <td tal:content="python:here.decode(memberObj.getKey())" />
-                  <td tal:content="python:memberObj.getId()" />
+                  <td tal:content="python:member.key" />
+                  <td tal:content="python:member.e_mail" />
                   <td><input type="checkbox"
-                    tal:attributes="name python:'responsibleScientist_key_%s'%count; value python:memberObj.getKey();
-                      checked python:here.isResponsibleScientist(memberObj.getKey())" />
+                    tal:attributes="name python:'responsibleScientist_key_%s'%count; value python:member.key;
+                      checked python:here.isResponsibleScientist(member.key)" />
                   </td>
-                </tal:y>
               </tr>
             </table>