Mercurial > hg > MPIWGWeb
view zpt/project/edit_preview_frame.zpt @ 262:e7b3c7ab9eb5 new_pro_struct
getSubProjects takes archived (=1) too.
author | casties |
---|---|
date | Wed, 13 Aug 2014 12:25:34 +0200 |
parents | 7b96a85552aa |
children |
line wrap: on
line source
<html> <body tal:define="root here/getMPIWGProjectUrl; viewUrl python:here.getMPIWGProject().getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')"> <h2>Preview</h2> <p> <a tal:attributes="href string:$root/edit?fromPreview=True">Edit</a> <a tal:attributes="href string:$root/saveFromPreview">Save and Publish</a> </p> <iframe tal:attributes="src string:$viewUrl/previewTemplate" width="100%" height="100%"></iframe> </body> </html>