[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - commontasks.pt:1.2

Sidnei da Silva sidnei@x3ng.com.br
Sat, 1 Mar 2003 16:17:02 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv5163/src/zope/app/browser/container

Modified Files:
	commontasks.pt 
Log Message:
added actions box, removed services box, removed commented out html code. you can get it with cvs if you want :P

=== Zope3/src/zope/app/browser/container/commontasks.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/container/commontasks.pt:1.1	Sat Mar  1 12:32:49 2003
+++ Zope3/src/zope/app/browser/container/commontasks.pt	Sat Mar  1 16:16:31 2003
@@ -1,12 +1,15 @@
+<tal:block define="addingInfo context/@@+/addingInfo|nothing"
+           condition="addingInfo">
 <div class="content even"><strong>Add new content</strong></div>
 
-  <tal:block repeat="info context/@@+/addingInfo">
+  <tal:block repeat="info addingInfo">
   <div tal:define="oddrow repeat/info/odd" class="even"
-         tal:attributes="class python:oddrow and 'content even' or 'content odd'">
+     tal:attributes="class python:oddrow and 'content even' or 'content odd'">
       <a href="#"
-         tal:attributes="href string:${request/getURL}?type_name=${info/action};
+      tal:attributes="href string:${request/getURL}?type_name=${info/action};
                        class info/selected"
                        tal:content="info/title">Folder
       </a>
   </div>
-</tal:block>
+  </tal:block>
+</tal:block>
\ No newline at end of file