Mercurial > hg > MPIWGWeb
diff zpt/staff/edit_publications.zpt @ 200:5b7f136b3463
shows context in edit publications
author | dwinter |
---|---|
date | Wed, 26 Jun 2013 16:02:53 +0200 |
parents | 485bf377913a |
children | 980794794bb5 |
line wrap: on
line diff
--- a/zpt/staff/edit_publications.zpt Tue Jun 25 14:47:39 2013 +0200 +++ b/zpt/staff/edit_publications.zpt Wed Jun 26 16:02:53 2013 +0200 @@ -25,11 +25,22 @@ <table> <tr> - <th>Priority</th><th>Citation</th> + <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}]" /> - <td valign="top" tal:content="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)"/> + <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>