2011-11-25 11:01:20 -06:00
|
|
|
<tal:main define="tool context/config">
|
|
|
|
<html metal:use-macro="context/ui/template/macros/main">
|
|
|
|
<metal:fill fill-slot="content"
|
|
|
|
tal:define="contextObj python: context.getParentNode();
|
2012-01-04 11:03:46 -06:00
|
|
|
dummy python: contextObj.allows('View', raiseError=True);
|
2011-11-25 11:01:20 -06:00
|
|
|
portal_type python: context.portal_type.lower().replace(' ', '_');
|
|
|
|
errors python: req.get('errors', {});
|
|
|
|
layoutType python:'view';
|
|
|
|
layout python: contextObj.getPageLayout(layoutType);
|
|
|
|
phaseInfo python: contextObj.getAppyPhases(currentOnly=True, layoutType='view');
|
|
|
|
page req/page|python:'main';
|
2012-01-04 11:03:46 -06:00
|
|
|
phase phaseInfo/name;"
|
|
|
|
tal:on-error="structure python: tool.manageError(error)">
|
2011-11-25 11:01:20 -06:00
|
|
|
<metal:prologue use-macro="context/ui/page/macros/prologue"/>
|
|
|
|
<metal:show use-macro="context/ui/page/macros/show"/>
|
|
|
|
<metal:footer use-macro="context/ui/page/macros/footer"/>
|
|
|
|
</metal:fill>
|
|
|
|
</html>
|
|
|
|
</tal:main>
|