comparison zpt/staff/pubman/add_publications.zpt @ 201:81a8177ca354

shows where a entry comes from in editing mode
author dwinter
date Wed, 26 Jun 2013 16:49:31 +0200
parents 485bf377913a
children
comparison
equal deleted inserted replaced
200:5b7f136b3463 201:81a8177ca354
32 <input type="hidden" name="method" value="add" /> 32 <input type="hidden" name="method" value="add" />
33 <h3>Select publication(s) to add</h3> 33 <h3>Select publication(s) to add</h3>
34 <table> 34 <table>
35 <tr tal:repeat="entry python:options['values'].items()"> 35 <tr tal:repeat="entry python:options['values'].items()">
36 <td><input type="checkbox" value="add" tal:attributes="name python:entry[0]" /></td> 36 <td><input type="checkbox" value="add" tal:attributes="name python:entry[0]" /></td>
37 <td><tal:x tal:replace="structure python:entry[1]" /></td> 37 <td><tal:x tal:replace="structure python:entry[1][0]" /></td>
38 </tr> 38 <tal:x condition="python:entry[1][1]=='escidoc:644427'">
39 <td valign="top">General</td>
40 </tal:x>
41 <tal:x condition="not:python:entry[1][1]=='escidoc:644427'">
42 <td valign="top">Institute</td>
43 </tal:x>
44 </tr>
39 </table> 45 </table>
40 <p> 46 <p>
41 <input type="submit" value="Add to selected publications" /> 47 <input type="submit" value="Add to selected publications" />
42 </p> 48 </p>
43 <p> 49 <p>