[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.47

Anthony Baxter anthony at interlink.com.au
Sat Feb 7 21:25:09 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv5871

Modified Files:
	template.pt 
Log Message:
support usage='siteobjectview'


=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.46 => 1.47 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.46	Fri Jan 30 08:27:24 2004
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt	Sat Feb  7 21:25:08 2004
@@ -59,10 +59,10 @@
     <div id="navigators">
 
       <!-- Navigation tree box -->
-      <metal:tree tal:condition="usage/objectview"
+      <metal:tree tal:condition="python: str(usage).endswith('objectview')"
                   use-macro="context/@@standard_macros/navigation_tree_box" />
       
-      <tal:usage condition="usage/objectview">
+      <tal:usage condition="python: str(usage).endswith('objectview')">
         <div class="box" id="commonTasks"
              tal:define="view context/@@commonTasks|nothing"
              tal:condition="view/strip|nothing">
@@ -91,7 +91,8 @@
 
     <div id="workspace">
 
-      <div tal:condition="usage/objectview" id="breadcrumbs"
+      <div tal:condition="python: str(usage).endswith('objectview')" 
+           id="breadcrumbs"
            metal:define-macro="breadcrumbs"
        > <div tal:omit-tag="" i18n:translate="">Location:&nbsp;</div><tal:block
            repeat="breadcrumb context/@@absolute_url/breadcrumbs"
@@ -109,7 +110,8 @@
             breadcrumb item</a> / </tal:block>
       </div>
 
-      <div tal:condition="usage/objectview" class="itemViews"
+      <div tal:condition="python: str(usage).endswith('objectview')" 
+           class="itemViews"
            metal:define-slot="tabs">
         <tal:block repeat="view context/@@view_get_menu/zmi_views">
           <a href=""
@@ -123,7 +125,8 @@
       </div>
 
       <!-- OnlineHelp with popup support -->
-      <div tal:condition="usage/objectview" id="actions"
+      <div tal:condition="python: str(usage).endswith('objectview')" 
+           id="actions"
            tal:define="help_actions context/@@view_get_menu/help_actions;
                        actions context/@@view_get_menu/zmi_actions"
            metal:define-slot="tabs">




More information about the Zope3-Checkins mailing list