comparison zpt/project/edit_preview_frame.zpt @ 97:7b96a85552aa

fix bugs in project editing. only show images with captions in project description.
author casties
date Tue, 21 May 2013 15:51:32 +0200
parents
children
comparison
equal deleted inserted replaced
96:2dd8e3be4a8e 97:7b96a85552aa
1 <html>
2 <body tal:define="root here/getMPIWGProjectUrl;
3 viewUrl python:here.getMPIWGProject().getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">
4 <h2>Preview</h2>
5 <p>
6 <a tal:attributes="href string:$root/edit?fromPreview=True">Edit</a> <a tal:attributes="href string:$root/saveFromPreview">Save
7 and Publish</a>
8 </p>
9 <iframe tal:attributes="src string:$viewUrl/previewTemplate" width="100%" height="100%"></iframe>
10 </body>
11 </html>