Diff for /MPIWGWeb/zpt/Attic/edit_MPIWGBasisNeu.zpt between versions 1.1.2.7 and 1.1.2.10

version 1.1.2.7, 2006/11/08 14:47:13 version 1.1.2.10, 2008/06/24 07:55:05
Line 32 Line 32
         </tal:block></td>          </tal:block></td>
       </tr>        </tr>
     </tal:block>      </tal:block>
     <tr>  <!--    <tr>
      <td><b>Historical names (new)</b><br/>       <td><b>Historical names (new)</b><br/>
      Please names enter as <br>       Please names enter as <br>
       LASTNAME,FIRSTNAME <br/>or LASTNAME,FIRSTNAME MIDDLE.. <br> with         LASTNAME,FIRSTNAME <br/>or LASTNAME,FIRSTNAME MIDDLE.. <br> with 
Line 41 Line 41
      <td><textarea name="historicalNames" tal:content="python:'\n'.join(here.getNamesInProject(here.getId()))" rows="10" cols="30">NAMES</textarea>       <td><textarea name="historicalNames" tal:content="python:'\n'.join(here.getNamesInProject(here.getId()))" rows="10" cols="30">NAMES</textarea>
      </td>       </td>
     </tr>      </tr>
       -->
         <tr tal:define="hasChildren python:here.hasChildren()">          <tr tal:define="hasChildren python:here.hasChildren()">
         <td>Project is active</td>          <td>Project is active</td>
          <tal:x tal:condition="python:hasChildren and here.isActiveProject()" >           <tal:x tal:condition="python:hasChildren and here.isActiveProject()" >
Line 51 Line 52
          <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 active, but has active children.
             </tal:x>              </tal:x>
Line 61 Line 72
         </tal:x>          </tal:x>
      </tr>       </tr>
   </table>    </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: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: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 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 memberObj/getKey"
                                                   /></td>
                   
                   </tal:x>
               
               </tal:y>
           </tr>
           </table>
           
           </td>
       </tr>
   
       </table>    
   <p><input type="submit" value="change"/></p>    <p><input type="submit" value="change"/></p>
   </form>    </form>
       
   </tal:block>    </tal:block>
 </body>  </body>
 </html>  </html>

Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.10


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