Mercurial > hg > MPIWGWeb
comparison 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 |
comparison
equal
deleted
inserted
replaced
169:2da62e93a1c6 | 170:485bf377913a |
---|---|
3 <html metal:use-macro="here/mainEditFile/macros/page"> | 3 <html metal:use-macro="here/mainEditFile/macros/page"> |
4 <body> | 4 <body> |
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" /> | 5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" /> |
6 <tal:block metal:fill-slot="body"> | 6 <tal:block metal:fill-slot="body"> |
7 | 7 |
8 <form method="post" tal:attributes="action string:$root/editPublications"> | |
8 | 9 |
9 <h2>Selection mode</h2> | 10 <h3>Selection mode</h3> |
10 <form method="post" action=""> | 11 <p> |
11 <input type="radio" name="selectionMode" value="year" tal:attributes="checked python:here.content.publications_mode=='year'" /> | 12 <input type="radio" name="selectionMode" value="year" |
12 Show the five most recent publications. (no further action needed) | 13 tal:attributes="checked python:here.content.publications_mode=='year'" /> |
14 Show the five most recent publications. (no further action needed)<br/> | |
13 <input type="radio" name="selectionMode" value="priority" | 15 <input type="radio" name="selectionMode" value="priority" |
14 tal:attributes="checked python:here.content.publications_mode=='priority'" />Show selected publications. | 16 tal:attributes="checked python:here.content.publications_mode=='priority'" /> |
15 <input type="submit" name="submit" /> | 17 Show selected publications. |
18 </p> | |
19 <p> | |
20 <input type="submit" value="Set mode" /> | |
21 </p> | |
16 </form> | 22 </form> |
17 | 23 |
18 <ul tal:condition="python:here.content.publications_mode=='priority'"> | 24 <h3>Publications</h3> |
19 <li><a href="addPublicationsFromPubman">Add an Entry</a></li> | |
20 <li><a href="changePublications">Delete entries from the list or Change the priorities</a></li> | |
21 | 25 |
22 </ul> | 26 <table> |
27 <tr> | |
28 <th>Priority</th><th>Citation</th> | |
29 </tr> | |
30 <tr tal:repeat="entry python:here.getSelectedPublications()"> | |
31 <td valign="top" tal:content="string:[${entry/priority}]" /> | |
32 <td valign="top" tal:content="structure python:here.mpiwgPubman.getEntryFromPubman(entry.escidocid)"/> | |
33 </tr> | |
34 </table> | |
35 | |
36 <div tal:condition="python:here.content.publications_mode=='priority'"> | |
37 <p> | |
38 <a tal:attributes="href string:$root/changePublications">Change the selected publications</a> | |
39 </p> | |
40 <p> | |
41 <a tal:attributes="href string:$root/addPublicationsFromPubman">Add an entry to the selected publications</a> | |
42 </p> | |
43 </div> | |
23 | 44 |
24 </tal:block> | 45 </tal:block> |
25 </body> | 46 </body> |
26 </html> | 47 </html> |