annotate zpt/project/edit_preview_frame.zpt @ 145:195c4f6faa0c

more style
author casties
date Fri, 31 May 2013 20:59:30 +0200
parents 7b96a85552aa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
97
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
1 <html>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
2 <body tal:define="root here/getMPIWGProjectUrl;
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
3 viewUrl python:here.getMPIWGProject().getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
4 <h2>Preview</h2>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
5 <p>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
6 <a tal:attributes="href string:$root/edit?fromPreview=True">Edit</a> <a tal:attributes="href string:$root/saveFromPreview">Save
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
7 and Publish</a>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
8 </p>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
9 <iframe tal:attributes="src string:$viewUrl/previewTemplate" width="100%" height="100%"></iframe>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
10 </body>
7b96a85552aa fix bugs in project editing.
casties
parents:
diff changeset
11 </html>