[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI/www - standard_macros.pt:1.7
Jim Fulton
jim@zope.com
Thu, 11 Jul 2002 15:34:28 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI/www
In directory cvs.zope.org:/tmp/cvs-serv27871/lib/python/Zope/App/ZMI/www
Modified Files:
standard_macros.pt
Log Message:
added breadcrumbs :)
=== Zope3/lib/python/Zope/App/ZMI/www/standard_macros.pt 1.6 => 1.7 ===
</head>
<body>
- <table><tr>
+ <table metal:define-macro="zmi_tabs"><tr>
<td tal:repeat="view views/ZMIUtility/getZMIViews">
<a href="" tal:attributes="href view/action" tal:content="view/title">
label</a>
</td>
</tr></table>
+
+ <span
+ metal:define-macro="breadcrumbs"
+ tal:repeat="breadcrumb context/@@absolute_url/breadcrumbs">
+ <a href=""
+ tal:attributes="href breadcrumb/url"
+ tal:content="string:${breadcrumb/name}/"
+ >name</a> </span>
<div metal:define-slot="body">
<p>Body here</p>