[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www - widget_macros.pt:1.4.2.1
Jim Fulton
jim@zope.com
Thu, 5 Dec 2002 05:14:30 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www
In directory cvs.zope.org:/tmp/cvs-serv5376
Modified Files:
Tag: ctheune-fix_appcontrol-branch
widget_macros.pt
Log Message:
Changed the code to display "Allow Services" to work even when
haveServiceManager is not defined. This was necessary to make ZopeTop
work with non-folders.
=== Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www/widget_macros.pt 1.4 => 1.4.2.1 ===
--- Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www/widget_macros.pt:1.4 Wed Nov 20 16:27:21 2002
+++ Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www/widget_macros.pt Thu Dec 5 05:14:30 2002
@@ -26,7 +26,7 @@
<tr>
<td colspan="2" nowrap="nowrap">
- <span tal:condition="not: context/hasServiceManager">
+ <span tal:condition="not: context/hasServiceManager|context">
<a href="@@addServiceManager.html">Allow Services</a>
<br />
</span>