Mercurial > hg > MPIWGWeb
view 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 |
line wrap: on
line source
<!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/mainEditFile/macros/page"> <body> <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" /> <tal:block metal:fill-slot="body"> <h3>Search publication to select</h3> <form action="" method="post"> <input type="hidden" name="method" value="search" /> <table> <tr> <td>Author/Editor</td> <td><input type="text" size="30" name="author" /></td> </tr> <tr> <td>Title</td> <td><input type="text" size="30" name="title" /></td> </tr> <tr> <td>Somewhere in the metadata</td> <td><input type="text" size="30" name="any" /></td> </tr> </table> <p> <input type="submit" value="Search" /> </p> </form> <div tal:condition="python:options.has_key('values')"> <form action="" method="post"> <input type="hidden" name="method" value="add" /> <h3>Select publication(s) to add</h3> <table> <tr tal:repeat="entry python:options['values'].items()"> <td><input type="checkbox" value="add" tal:attributes="name python:entry[0]" /></td> <td><tal:x tal:replace="structure python:entry[1][0]" /></td> <tal:x condition="python:entry[1][1]=='escidoc:644427'"> <td valign="top">General</td> </tal:x> <tal:x condition="not:python:entry[1][1]=='escidoc:644427'"> <td valign="top">Institute</td> </tal:x> </tr> </table> <p> <input type="submit" value="Add to selected publications" /> </p> <p> <a tal:attributes="href string:$root/editPublications">Back to publication list</a> </p> </form> </div> </tal:block> </body> </html>