Mercurial > hg > MPIWGWeb
view zpt/project/edit_preview_frame.zpt @ 218:0babf6e0a454
omit talks section if calendar is empty.
author | casties |
---|---|
date | Wed, 16 Oct 2013 15:44:16 +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>