Diff for /MPIWGWeb/zpt/Attic/edit_MPIWGBasisNeu.zpt between versions 1.1 and 1.1.2.12

version 1.1, 2005/08/30 17:08:27 version 1.1.2.12, 2008/09/02 12:00:06
Line 0 Line 1
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   <html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
   <head>
   </head>
   <body>
   <tal:block metal:fill-slot="navsel" tal:define="global menusel string:basis" />
   <tal:block metal:fill-slot="body">
     <form method="POST" action="editMPIWGProject">
     <input type="hidden" name="fromEdit" value="yes" />
     <table>
       <tr>
         <td><b>Project Title</b></td>
         <td>
           <input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size="80"/>
         </td>
       </tr>
       <tal:block tal:repeat="field here/getDataFields">
         <tr>
           <td><b tal:content="python:here.fieldLabels[field]"/></td>
           <td><input tal:attributes="name field; value python:here.getContent(field)" size=80 /></td>
         </tr>
         <tr tal:condition="python:here.isCheckField(field)">
           <td/>
           <td><tal:block tal:define="checkList python:here.giveCheckList(here,field)">
             <tal:block repeat="item checkList/keys">
               <span tal:replace="item" />: 
               <tal:block tal:condition="python:len(checkList[item])>0">found</tal:block> 
               <tal:block tal:condition="not:python:len(checkList[item])>0"><font color="#ff0000">not found</font></tal:block>
             </tal:block>
             <br>
           </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()" >
             <td>visible (status cannot be changed, because the project has visible 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 visible, but has visible children.
               </tal:x>
             </td>
           </tal:x>
        </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>
    
     
     <h2>Names</h2>
     <table tal:define="global count python:0">
    
   <tr tal:repeat="identifiedName python:options.get('identifiedNames',{}).items()">
           <tal:x tal:define="global count python:count+1"/>
           <td><input type="hidden" tal:attributes="value python:here.decode(identifiedName[0]);
                                                    name python:'responsibleScientist_name_%s'%count"/>
               <span tal:replace="python:identifiedName[0]"/></td>
           <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()"/>
                   <tal:x condition="python:here.isResponsibleScientist(memberObj.getKey())">
                       <td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count;
                                                                               value python:here.decode(memberObj.getKey())"
                                                   checked/></td>
                       
                   </tal:x>
                   <tal:x condition="not:python:here.isResponsibleScientist(memberObj.getKey())">
                       <td><input type="checkbox"  tal:attributes="name python:'responsibleScientist_key_%s'%count;
                                                                               value python:here.decode(memberObj.getKey())"
                                                   /></td>
                   
                   </tal:x>
               
               </tal:y>
           </tr>
           </table>
           
           </td>
       </tr>
   
       </table>    
       <p><input type="submit" value="change"/></p>
     </form>
       
     </tal:block>
   </body>
   </html>

Removed from v.1.1  
changed lines
  Added in v.1.1.2.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>