[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/browser/contents.pt - transmute a <div> to <tal:block> to remove a potential empty tag

Benji York benji at zope.com
Mon Dec 5 12:13:57 EST 2005


Log message for revision 40549:
  - transmute a <div> to <tal:block> to remove a potential empty tag
  - whitespace fixes
  

Changed:
  U   Zope3/trunk/src/zope/app/container/browser/contents.pt

-=-
Modified: Zope3/trunk/src/zope/app/container/browser/contents.pt
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/contents.pt	2005-12-05 16:55:05 UTC (rev 40548)
+++ Zope3/trunk/src/zope/app/container/browser/contents.pt	2005-12-05 17:13:57 UTC (rev 40549)
@@ -122,7 +122,7 @@
         </tbody>
       </table>
 
-      <div tal:condition="view/normalButtons">
+      <tal:block tal:condition="view/normalButtons">
 
         <input type="submit" name="container_rename_button" value="Rename"
                i18n:attributes="value container-rename-button"
@@ -147,10 +147,10 @@
                />
 
         <div tal:condition="view/hasAdding" tal:omit-tag="">
-        <div tal:omit-tag="" 
+        <div tal:omit-tag=""
              tal:define="adding nocall:context/@@+;
                          addingInfo adding/addingInfo;
-                         has_custom_add_view adding/hasCustomAddView; 
+                         has_custom_add_view adding/hasCustomAddView;
                          names_required adding/nameAllowed"
              tal:condition="adding/isSingleMenuItem">
           <input type="submit" name="container_add_button" value="Add"
@@ -163,12 +163,12 @@
                />
           <input type="hidden" name="single_type_name"
                value=""
-               tal:attributes="value python:addingInfo[0]['action']" 
+               tal:attributes="value python:addingInfo[0]['action']"
                />
         </div>
         </div>
 
-      </div>
+      </tal:block>
 
       <div tal:condition="view/specialButtons">
         <input type="submit" value="Apply"



More information about the Zope3-Checkins mailing list