[Zope3-checkins] CVS: Zope3/src/zope/app/rotterdam - template.pt:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 23 17:08:27 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv23174/src/zope/app/rotterdam
Modified Files:
template.pt
Log Message:
do not use usage 'anymore', but 'macroname'.
=== Zope3/src/zope/app/rotterdam/template.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/rotterdam/template.pt:1.2 Mon Mar 8 07:06:00 2004
+++ Zope3/src/zope/app/rotterdam/template.pt Tue Mar 23 17:08:25 2004
@@ -41,7 +41,6 @@
<body tal:attributes="onload body_onload | nothing">
<div id="global">
- <!--div tal:content="usage"></div-->
<div id="userDetails">
<metal:block define-macro="logged_user">
<span tal:omit-tag="" i18n:translate="">User:</span>
@@ -68,7 +67,7 @@
<!-- Navigation tree box -->
<metal:tree use-macro="context/@@standard_macros/navigation_tree_box" />
- <tal:block condition="usage/objectview">
+ <tal:block condition="python: macroname == 'view'">
<div class="box" id="commonTasks"
tal:define="view context/@@commonTasks|nothing"
@@ -116,7 +115,7 @@
breadcrumb item</a> / </tal:block>
</div>
- <div tal:condition="usage/objectview" class="itemViews"
+ <div tal:condition="python: macroname == 'view'" class="itemViews"
metal:define-slot="tabs">
<tal:block repeat="view context/@@view_get_menu/zmi_views">
<a href=""
@@ -132,7 +131,7 @@
<!-- OnlineHelp with popup support -->
<!-- note, we reverse the actions list 'cos they're packed to the
screen from the right -->
- <div tal:condition="usage/objectview" id="actions"
+ <div tal:condition="python: macroname == 'view'" id="actions"
tal:define="help_actions context/@@view_get_menu/help_actions;
actions context/@@view_get_menu/zmi_actions;
dummy python:actions.reverse()"
More information about the Zope3-Checkins
mailing list