view zpt/project/edit_preview_frame.zpt @ 153:c115a18dbbe1

styles for overview page.
author casties
date Mon, 03 Jun 2013 19:55:13 +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>