[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/zopetop/www - widget_macros.pt:1.7

Sidnei da Silva sidnei@x3ng.com.br
Wed, 5 Mar 2003 17:35:07 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/zopetop/www
In directory cvs.zope.org:/tmp/cvs-serv23542/skins/zopetop/www

Modified Files:
	widget_macros.pt 
Log Message:
dont show empty box if view returns empty string

=== Zope3/src/zope/app/browser/skins/zopetop/www/widget_macros.pt 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/skins/zopetop/www/widget_macros.pt:1.6	Sat Mar  1 16:16:32 2003
+++ Zope3/src/zope/app/browser/skins/zopetop/www/widget_macros.pt	Wed Mar  5 17:35:06 2003
@@ -27,7 +27,7 @@
 
 <div class="box" id="commonTasks" 
        tal:define="view context/@@commonTasks|nothing"
-       tal:condition="view"
+       tal:condition="view/strip|nothing"
        metal:define-macro="commontasks_box">
 
   <h5>Common Tasks</h5>
@@ -156,7 +156,7 @@
 
   <div class="box"
        tal:define="view context/@@MetaDataBox|nothing"
-       tal:condition="view"
+       tal:condition="view/strip|nothing"
        metal:define-macro="metadata_box">
 
   <h5>Metadata</h5>