[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - add.pt:1.5
Steve Alexander
steve@cat-box.net
Tue, 22 Oct 2002 15:35:29 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv30515/python/Zope/App/OFS/Container/Views/Browser
Modified Files:
add.pt
Log Message:
Changed standard_macros to provide macros aggregated from view_macros.pt
and also from dialog_macros.pt.
Introduced the notion of a "dialog", which is like a normal ZMI view,
except that management tabs (and other such links to views) are missing.
This makes all the links on the Add-form work.
You make something a dialog by using the macro standard_macros/dialog
rather than standard_macros/page.
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/add.pt 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/add.pt:1.4 Thu Jul 11 00:10:56 2002
+++ Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/add.pt Tue Oct 22 15:34:59 2002
@@ -1,4 +1,4 @@
-<html metal:use-macro="views/standard_macros/page">
+<html metal:use-macro="views/standard_macros/dialog">
<head>
<style metal:fill-slot="headers" type="text/css">