Changeset 1200 in products
- Timestamp:
- Jul 31, 2009 2:04:19 PM (15 years ago)
- Location:
- quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/TODO.txt
r1182 r1200 6 6 [ ] documentation 7 7 [ ] tests tests tests 8 [ ] migration from qPloneDropDownMenu 8 9 9 10 -
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/menu.py
r1199 r1200 19 19 def __init__(self, context): 20 20 super(DropDownMenuQueryBuilder, self).__init__(context) 21 22 # customize depth according to dropdown menu settings 21 23 if self._settings.content_tabs_level > 0: 22 24 self.query['path']['depth'] = self._settings.content_tabs_level 23 25 elif self.query['path'].has_key('depth'): 24 26 del self.query['path']['depth'] 27 28 # constrain non-folderish objects if required 29 if not self._settings.show_nonfolderish_tabs: 30 self.query['is_folderish'] = True 25 31 26 32 @property -
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/viewlets.py
r1199 r1200 72 72 # prepare data for action 73 73 # TODO: implement current element functionality, maybe should be 74 # done on a template level because of separate content and 74 # done on a template level because of separate content and 75 75 # actions tabs are rendered separately 76 76 currentItem = False … … 130 130 def _content_tabs(self): 131 131 """Return tree of tabs based on content structure""" 132 # TODO: make non-folderish work as proxy133 132 context = aq_inner(self.context) 134 133 -
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/interfaces.py
r1199 r1200 24 24 default=False) 25 25 26 # TODO: make this and the next settings work as proxy for Navigation configlet 26 27 show_content_tabs = schema.Bool( 27 28 title=_(u"Show content tabs"),
Note: See TracChangeset
for help on using the changeset viewer.