annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
3 <html metal:use-macro="here/mainEditFile/macros/page">
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
4 <body>
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
6 <tal:block metal:fill-slot="body">
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
7
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
8 <form method="post" tal:attributes="action string:$root/editPublications">
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
9
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
10 <h3>Selection mode</h3>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
11 <p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
12 <input type="radio" name="selectionMode" value="year"
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
13 tal:attributes="checked python:here.content.publications_mode=='year'" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
14 Show the five most recent publications. (no further action needed)<br/>
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
15 <input type="radio" name="selectionMode" value="priority"
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
16 tal:attributes="checked python:here.content.publications_mode=='priority'" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
17 Show selected publications.
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
18 </p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
19 <p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
20 <input type="submit" value="Set mode" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
21 </p>
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
22 </form>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
23
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
24 <h3>Publications</h3>
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
25
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
26 <table>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
27 <tr>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
28 <th>Priority</th><th>Citation</th>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
29 </tr>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
30 <tr tal:repeat="entry python:here.getSelectedPublications()">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
31 <td valign="top" tal:content="string:[${entry/priority}]" />
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
32 <td valign="top" tal:content="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)"/>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
33 </tr>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
34 </table>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
35
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
36 <div tal:condition="python:here.content.publications_mode=='priority'">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
37 <p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
38 <a tal:attributes="href string:$root/changePublications">Change the selected publications</a>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
39 </p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
40 <p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
41 <a tal:attributes="href string:$root/addPublicationsFromPubman">Add an entry to the selected publications</a>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
42 </p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
43 </div>
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
44
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
45 </tal:block>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
46 </body>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
47 </html>