Mercurial > hg > MPIWGWeb
view zpt/project/edit_related_projects.zpt @ 61:04fb655633ef
more cleaning up projects.
author | casties |
---|---|
date | Thu, 02 May 2013 18:32:01 +0200 |
parents | dc41deabc8f8 |
children | 2da62e93a1c6 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html metal:use-macro="here/edit_template/macros/page"> <head> </head> <body> <tal:block metal:fill-slot="navsel" tal:define="global menusel string:relatedProjects" /> <tal:block metal:fill-slot="body"> <table> <tal:block tal:repeat="item here/getRelatedProjectList"> <tr tal:define="proid item/getId"> <td> <a tal:attributes="href string:$root/manageRelatedProjects?name=$proid&op=up">up</a><br> <a tal:attributes="href string:$root/manageRelatedProjects?name=$proid&op=down">down</a> </td> <td tal:content="string:[${item/place}]"/> <!-- <td tal:content="item/objid" /> --> <td tal:content="item/getProjectTitle" /> <td> <a tal:attributes="href string:$root/$proid/editRelatedProject">Edit</a><br/> <a tal:attributes="href string:$root/deleteRelatedProject?id=$proid">Delete</a> </td> </tr> </tal:block> </table> <h3>Add related projects</h3> <form tal:attributes="action string:$root/addRelatedProject" method="post"> <p> Please enter the URL of the project you want to add a relation to:<br /> <input name="link" size="100"> </p> <p> <input type="submit" value="submit" /> </p> </form> </tal:block> </body> </html>