Mercurial > hg > MPIWGWeb
diff zpt/project/edit_related_projects.zpt @ 60:dc41deabc8f8
more work on projects. more cleanup.
author | casties |
---|---|
date | Thu, 02 May 2013 11:26:57 +0200 |
parents | 1ed79b33200c |
children | 04fb655633ef |
line wrap: on
line diff
--- a/zpt/project/edit_related_projects.zpt Thu May 02 10:14:52 2013 +0200 +++ b/zpt/project/edit_related_projects.zpt Thu May 02 11:26:57 2013 +0200 @@ -1,23 +1,24 @@ <!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_MPIWGProject_main/macros/page"> +<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="publication here/getRelatedProjects"> + <tal:block tal:repeat="item here/getRelatedProjects"> <tr> <td> - <a tal:attributes="href python:here.absolute_url()+'/manageRelatedProjects?pubName='+publication.getId()+'&op=up'">up</a><br> - <a tal:attributes="href python:here.absolute_url()+'/manageRelatedProjects?pubName='+publication.getId()+'&op=down'">down</a> + <a tal:attributes="href python:here.absolute_url()+'/manageRelatedProjects?pubName='+item.getId()+'&op=up'">up</a><br> + <a tal:attributes="href python:here.absolute_url()+'/manageRelatedProjects?pubName='+item.getId()+'&op=down'">down</a> </td> - <td tal:content="structure python:getattr(publication,'objid','')" /> - <td tal:content="structure python:getattr(publication,'projectWEB_title','')" /> + <td tal:content="string:[${item/place}]"/> + <!-- <td tal:content="item/objid" /> --> + <td tal:content="item/getProjectTitle" /> <td> - <a tal:attributes="href python:publication.getId()+'/editRelatedProject'">Edit</a><br/> - <a tal:attributes="href python:'deleteRelatedProject?id='+publication.getId()">Delete</a> + <a tal:attributes="href python:item.getId()+'/editRelatedProject'">Edit</a><br/> + <a tal:attributes="href python:'deleteRelatedProject?id='+item.getId()">Delete</a> </td> </tr> </tal:block>