version 1.1.2.6, 2008/08/20 09:40:57
|
version 1.1.2.7, 2008/08/20 12:24:29
|
Line 7
|
Line 7
|
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:research" /> |
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:research" /> |
<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> |
<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> |
|
|
<form action="changeResearch" method="post"> |
<form action="changeCurrentWork" method="post"> |
<input type="hidden" name="key_main" tal:attributes="value person/key"> |
<input type="hidden" name="key" tal:attributes="value person/key"> |
<input type="hidden" name="main_fields" value="current_work__current,research_interest__interest"> |
|
<h3>Short entry</h3> |
<h3>Short entry</h3> |
<p>This entry appears only in the staff lists at: <a href="../staff/fullist.html">Fullist</a> and the |
<p>This entry appears only in the staff lists at: <a href="../staff/fullist.html">Fullist</a> and the |
lists of members of you department. Maximal 2 entries will occur there.</p> |
lists of members of you department</p> |
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',key_main=person.key)"> |
<table tal:define="found2 python:person"> |
<tr> |
<tr> |
<th /> |
<th /> |
<th>Priority</th> |
|
<th>Show</th> |
<th>Show</th> |
</tr> |
</tr> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<tr class="fliesstext"> |
<td><input tal:attributes="name python:'current_work__current__'+str(found2.oid); |
<td><input tal:attributes="name python:'current_work'; |
value found2/current" size="80" /> |
value found2/current_work" size="80" /> |
</td> |
|
<td><input tal:attributes="name python:'current_work__priority__'+str(found2.oid); |
|
value found2/priority" size="3" /> |
|
</td> |
</td> |
<td |
<td |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
'current_work__publish__'+str(found2.oid), |
'publish', |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |
checked=found2.publish)" /> |
checked=found2.current_work_p)" /> |
<td><a tal:attributes="href python:'deleteField?table=current_work&oid=%s'%found2.oid">delete</a></td> |
|
</tr> |
|
<tr colspan="4"> |
|
<td>Add new</td> |
|
</tr> |
|
<tr> |
|
<td><input tal:attributes="name python:'current_work__current__new'" size="80"></td> |
|
<td><input tal:attributes="name python:'current_work__priority__new'" size="3"></td> |
|
<td |
|
tal:content="structure python:here.ZSQLSelectionFromCRList( |
|
'current_work__publish__new', |
|
yes_no_list, |
|
boxType='radio', |
|
checked='yes')" /> |
|
</tr> |
</tr> |
</table> |
</table> |
<input type="submit" value="submit"> |
<input type="submit" value="submit"> |
Line 90
|
Line 71
|
</tr> |
</tr> |
</table> |
</table> |
--> |
--> |
<input type="submit" value="submit"> |
|
</form> |
</form> |
<h3>Projects</h3> |
<h3>Projects</h3> |
<p>Projects cannot be edited from this pages. Entries are automatically generated.</p> |
<p>Projects cannot be edited from this pages. Entries are automatically generated.</p> |