1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3: <html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
4: <head>
5: </head>
6: <body>
7: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:relatedProjects" />
8: <tal:block metal:fill-slot="body">
9: <table>
10: <tal:block tal:repeat="publication here/getRelatedProjects">
11: <tr>
12: <td>
13: <a tal:attributes="href python:here.absolute_url()+'/manageRelatedProjects?pubName='+publication[0]+'&op=up'">up</a><br>
14: <a tal:attributes="href python:here.absolute_url()+'/manageRelatedProjects?pubName='+publication[0]+'&op=down'">down</a>
15: </td>
16: <td tal:content="structure python:getattr(publication[1],'objid','')" />
17: <td tal:content="structure python:getattr(publication[1],'projectWEB_title','')" />
18: <td>
19: <a tal:attributes="href python:publication[1].getId()+'/editRelatedProject'">Edit</a><br/>
20: <a tal:attributes="href python:'deleteRelatedProject?id='+publication[1].getId()">Delete</a>
21: </td>
22: </tr>
23: </tal:block>
24: </table>
25:
26: <h3>Add related projects</h3>
27: <p>Please add the link to the project you want to add a relation to.</p>
28: <form action="addRelatedProject" method="post">
29: <input name="link" size="100">
30: <p><input type="submit" value="submit"/></p>
31: </form>
32:
33: </tal:block>
34: </body>
35: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>