Mercurial > hg > MPIWGWeb
view zpt/staff/edit_publications.zpt @ 170:485bf377913a
fix staff editing pages.
author | casties |
---|---|
date | Fri, 07 Jun 2013 16:29:34 +0200 |
parents | ee79f6ba8d01 |
children | 5b7f136b3463 |
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> </tr> <tr tal:repeat="entry python:here.getSelectedPublications()"> <td valign="top" tal:content="string:[${entry/priority}]" /> <td valign="top" tal:content="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)"/> </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>