File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGBasisNeu.zpt
Revision 1.1.2.8: download - view: text, annotated - select for diffs - revision graph
Thu Oct 18 12:00:17 2007 UTC (16 years, 8 months ago) by casties
Branches: r2
more unicode fixes and other small stuff

<!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 active</td>
    	 <tal:x tal:condition="python:hasChildren and here.isActiveProject()" >
	      <td>active (status cannot be changed, because the project has active 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 active, but has active children.
			</tal:x>
	      </td>
	    </tal:x>
	 </tr>
  </table>
  <p><input type="submit" value="change"/></p>
  </form>
  </tal:block>
</body>
</html>

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