annotate zpt/project/edit_preview_frame.zpt @ 284:1a103b073c72
default tip
make favicon url host and schema relative.
| author |
casties |
| date |
Thu, 25 Jun 2015 17:44:57 +0200 |
| parents |
7b96a85552aa |
| children |
|
| rev |
line source |
|
97
|
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>
|