annotate zpt/project/edit_publications.zpt @ 63:fd6931bd49c8

more cleaning up projects.
author casties
date Fri, 03 May 2013 11:30:41 +0200
parents 04fb655633ef
children b5ff783027d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
5ed0b0c21fe5 started to clean up MPIWGProject.
casties
parents: 0
diff changeset
3 <html metal:use-macro="here/edit_template/macros/page">
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
4 <head>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
5 </head>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
6 <body>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
7 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
8 <tal:block metal:fill-slot="body">
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
9 <h2>Project publications</h2>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
10 <table>
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
11 <tal:block tal:repeat="publication here/getPublicationList">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
12 <tr tal:define="pubid publication/getId">
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
13 <td>
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
14 <a tal:attributes="href string:$root/managePublications?name=$pubid&op=up">up</a><br>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
15 <a tal:attributes="href string:$root/managePublications?name=$pubid&op=down">down</a>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
16 </td>
60
dc41deabc8f8 more work on projects. more cleanup.
casties
parents: 56
diff changeset
17 <td tal:content="string:[${publication/place}]"/>
dc41deabc8f8 more work on projects. more cleanup.
casties
parents: 56
diff changeset
18 <td tal:content="structure python:getattr(publication,'text','')" />
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
19 <td>
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
20 <a tal:attributes="href string:$root/$pubid/editPublication">Edit</a><br/>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
21 <a tal:attributes="href string:$root/deletePublication?id=$pubid">Delete</a>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
22 </td>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
23 </tr>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
24 </tal:block>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
25 </table>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
26
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
27 <h3>Add a project publication</h3>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
28 <form tal:attributes="action string:$root/addPublication" method="post">
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
29 <textarea name="text" rows="3" cols="80"></textarea>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
30 <p><input type="submit" value="submit"/></p>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
31 </form>
56
a6ace48c2bf2 publication management f?r projekte
dwinter
parents: 22
diff changeset
32
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
33 <h2>Additional publications</h2>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
34 <tal:block tal:define="books here/getAdditionalPublicationList" tal:condition="exists:here/mpiwgPubman">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
35 <ul class="publicationlist">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
36 <li tal:repeat="book books">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
37 <a tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book.escidocid"
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
38 tal:content="structure python:here.mpiwgPubman.getEntryFromPubman(book.escidocid)"/>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
39 </li>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
40 </ul>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
41 </tal:block>
56
a6ace48c2bf2 publication management f?r projekte
dwinter
parents: 22
diff changeset
42
63
fd6931bd49c8 more cleaning up projects.
casties
parents: 61
diff changeset
43 <h3><a tal:attributes="href string:$root/addAdditionalPublicationsFromPubman"> Add publication to additional publication list</a></h3>
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
44 <h3><a tal:attributes="href string:$root/changePublications"> Change additional publication list</a></h3>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
45 </tal:block>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
46 </body>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
47 </html>