[Zope3-checkins] CVS: Zope3/src/zope/products/statictree - browser.py:1.2 CHANGES.txt:1.2 TODO.txt:1.2

Philipp von Weitershausen philikon at philikon.de
Fri Jan 16 09:17:03 EST 2004


Update of /cvs-repository/Zope3/src/zope/products/statictree
In directory cvs.zope.org:/tmp/cvs-serv3277

Modified Files:
	browser.py CHANGES.txt TODO.txt 
Log Message:
Show site managers (++etc++site) in the folder view.


=== Zope3/src/zope/products/statictree/browser.py 1.1 => 1.2 ===
--- Zope3/src/zope/products/statictree/browser.py:1.1	Fri Jan 16 07:39:00 2004
+++ Zope3/src/zope/products/statictree/browser.py	Fri Jan 16 09:17:01 2004
@@ -19,7 +19,7 @@
 from zope.app import zapi
 from zope.app.publisher.browser import BrowserView
 from zope.app.interfaces.content.folder import IFolder
-from zope.app.interfaces.services.service import ISite
+from zope.app.interfaces.services.service import ISite, ISiteManager
 from zope.app.interfaces.traversing import IContainmentRoot
 
 from interfaces import ITreeStateEncoder
@@ -50,9 +50,9 @@
         return node
 
     def folderCookieTree(self, root=None):
-        """Cookie tree with only folders.
+        """Cookie tree with only folders (and site managers).
         """
-        filter = OnlyInterfacesFilter(IFolder)
+        filter = OnlyInterfacesFilter(IFolder, ISiteManager)
         return self.cookieTree(root, filter)
 
     def siteCookieTree(self):


=== Zope3/src/zope/products/statictree/CHANGES.txt 1.1 => 1.2 ===
--- Zope3/src/zope/products/statictree/CHANGES.txt:1.1	Fri Jan 16 07:39:00 2004
+++ Zope3/src/zope/products/statictree/CHANGES.txt	Fri Jan 16 09:17:01 2004
@@ -7,6 +7,8 @@
 
   - Updated documentation
 
+  - Rounded some rough edges in the skin
+
   - Integrated it into the Zope3 distribution below the zope.products
     package
 


=== Zope3/src/zope/products/statictree/TODO.txt 1.1 => 1.2 ===
--- Zope3/src/zope/products/statictree/TODO.txt:1.1	Fri Jan 16 07:39:00 2004
+++ Zope3/src/zope/products/statictree/TODO.txt	Fri Jan 16 09:17:01 2004
@@ -1,7 +1,7 @@
 
-- BUG: site manager does not show up in StaticTree skin
+TODO
 
-v1.1
+for v1.1
 
 - allow sorting: would work similar to filter
 




More information about the Zope3-Checkins mailing list