annotate zpt/project/edit_publications.zpt @ 236:c90c8333ca8f

fix problem with current_work_p and auto-generated profile.
author casties
date Wed, 08 Jan 2014 10:36:16 +0100
parents 7fcb9b18c4d1
children
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">
64
b5ff783027d6 more work on projects.
casties
parents: 63
diff changeset
29 <p><b>Bibliographical entry:</b><br/>
b5ff783027d6 more work on projects.
casties
parents: 63
diff changeset
30 <textarea name="text" rows="2" cols="80"></textarea>
b5ff783027d6 more work on projects.
casties
parents: 63
diff changeset
31 </p>
b5ff783027d6 more work on projects.
casties
parents: 63
diff changeset
32 <p><b>Link:</b> <input name="link" size="60"/> (optional, can be link to MPIWG book page)</p>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
33 <p><input type="submit" value="submit"/></p>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
34 </form>
56
a6ace48c2bf2 publication management f?r projekte
dwinter
parents: 22
diff changeset
35
61
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
36 <h2>Additional publications</h2>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
37 <tal:block tal:define="books here/getAdditionalPublicationList" tal:condition="exists:here/mpiwgPubman">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
38 <ul class="publicationlist">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
39 <li tal:repeat="book books">
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
40 <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
41 tal:content="structure python:here.mpiwgPubman.getEntryFromPubman(book.escidocid)"/>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
42 </li>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
43 </ul>
04fb655633ef more cleaning up projects.
casties
parents: 60
diff changeset
44 </tal:block>
56
a6ace48c2bf2 publication management f?r projekte
dwinter
parents: 22
diff changeset
45
63
fd6931bd49c8 more cleaning up projects.
casties
parents: 61
diff changeset
46 <h3><a tal:attributes="href string:$root/addAdditionalPublicationsFromPubman"> Add publication to additional publication list</a></h3>
235
7fcb9b18c4d1 CLOSED - # 147: changePublikation in Projects funktioniert nicht
dwinter
parents: 64
diff changeset
47 <h3><a tal:attributes="href string:$root/changeAdditionalPublications"> Change additional publication list</a></h3>
0
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
48 </tal:block>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
49 </body>
bca61e893fcc first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff changeset
50 </html>