def contents_table(self): try: settings = getUtility(IRegistry).forInterface( IMultiLanguageExtraOptionsSchema) except KeyError: table = FolderContentsTable(aq_inner(self.context), self.request) return table.render() if settings.filter_content: table = FolderContentsTable(aq_inner(self.context), self.request) else: table = FolderContentsTable(aq_inner(self.context), self.request, contentFilter={'Language': 'all'}) return table.render()
def contents_table(self): table = FolderContentsTable( self.context, self.request, {'object_provides': IVariation.__identifier__}) return table.render()
def contents_table(self): table = FolderContentsTable(self.context, self.request, {'object_provides': IVariation.__identifier__}) return table.render()