annotate 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
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>
200
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
28 <th>Priority</th><th>Citation</th><th>Collection</th>
170
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}]" />
200
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
32 <tal:x define="entry python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid,withContext=True)">
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
33 <tal:x condition="python:entry[1]=='escidoc:644427'">
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
34 <td valign="top" tal:content="structure python:entry[0]"/>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
35 <td valign="top">General</td>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
36 </tal:x>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
37 <tal:x condition="not:python:entry[1]=='escidoc:644427'">
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
38 <td valign="top" tal:content="structure python:entry[0]"/>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
39 <td valign="top">Institute</td>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
40 </tal:x>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
41
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
42 </tal:x>
5b7f136b3463 shows context in edit publications
dwinter
parents: 170
diff changeset
43
170
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
44 </tr>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
45 </table>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
46
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
47 <div tal:condition="python:here.content.publications_mode=='priority'">
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
48 <p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
49 <a tal:attributes="href string:$root/changePublications">Change the selected publications</a>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
50 </p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
51 <p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
52 <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
53 </p>
485bf377913a fix staff editing pages.
casties
parents: 159
diff changeset
54 </div>
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
55
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
56 </tal:block>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
57 </body>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents: 47
diff changeset
58 </html>