Mercurial > hg > MPIWGWeb
view zpt/staff/edit_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 | 5b7f136b3463 |
children | 980794794bb5 |
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"> <form method="post" tal:attributes="action string:$root/editPublications"> <h3>Selection mode</h3> <p> <input type="radio" name="selectionMode" value="year" tal:attributes="checked python:here.content.publications_mode=='year'" /> Show the five most recent publications. (no further action needed)<br/> <input type="radio" name="selectionMode" value="priority" tal:attributes="checked python:here.content.publications_mode=='priority'" /> Show selected publications. </p> <p> <input type="submit" value="Set mode" /> </p> </form> <h3>Publications</h3> <table> <tr> <th>Priority</th><th>Citation</th><th>Collection</th> </tr> <tr tal:repeat="entry python:here.getSelectedPublications()"> <td valign="top" tal:content="string:[${entry/priority}]" /> <tal:x define="entry python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid,withContext=True)"> <tal:x condition="python:entry[1]=='escidoc:644427'"> <td valign="top" tal:content="structure python:entry[0]"/> <td valign="top">General</td> </tal:x> <tal:x condition="not:python:entry[1]=='escidoc:644427'"> <td valign="top" tal:content="structure python:entry[0]"/> <td valign="top">Institute</td> </tal:x> </tal:x> </tr> </table> <div tal:condition="python:here.content.publications_mode=='priority'"> <p> <a tal:attributes="href string:$root/changePublications">Change the selected publications</a> </p> <p> <a tal:attributes="href string:$root/addPublicationsFromPubman">Add an entry to the selected publications</a> </p> </div> </tal:block> </body> </html>