[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/utility - utilities.pt:1.6

Guido van Rossum guido@python.org
Wed, 30 Apr 2003 11:32:03 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/services/utility
In directory cvs.zope.org:/tmp/cvs-serv22163

Modified Files:
	utilities.pt 
Log Message:
Don't display the form if there are no utilities.


=== Zope3/src/zope/app/browser/services/utility/utilities.pt 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/services/utility/utilities.pt:1.5	Wed Apr 30 11:15:30 2003
+++ Zope3/src/zope/app/browser/services/utility/utilities.pt	Wed Apr 30 11:32:02 2003
@@ -12,9 +12,11 @@
          <br><br><i><a href="">(click to clear message)</a></i>
       </div>
 
-<form method="POST" action="utilities.html">
+<p tal:condition="not:configs">None</p>
 
-  <table tal:condition="configs">
+<form method="POST" action="utilities.html" tal:condition="configs">
+
+  <table>
     <tr tal:repeat="config configs">
       <td><input type="checkbox" name="selected:list"
                  tal:attributes=