comparison MoinMoin/themes/__init__.py @ 106:5144c90c6bd8

add menu entry for admin.index view
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 12 Mar 2011 14:41:33 +0100
parents ddc707d70d9d
children e4c332436733
comparison
equal deleted inserted replaced
105:ddc707d70d9d 106:5144c90c6bd8
310 (_('-----------------------------------'), 'show', 'frontend.show_item', True), 310 (_('-----------------------------------'), 'show', 'frontend.show_item', True),
311 (_('Copy Item'), 'copy', 'frontend.copy_item', not_exists, ), 311 (_('Copy Item'), 'copy', 'frontend.copy_item', not_exists, ),
312 (_('Rename Item'), 'rename', 'frontend.rename_item', not_exists, ), 312 (_('Rename Item'), 'rename', 'frontend.rename_item', not_exists, ),
313 (_('Delete Item'), 'delete', 'frontend.delete_item', not_exists, ), 313 (_('Delete Item'), 'delete', 'frontend.delete_item', not_exists, ),
314 (_('Destroy Item'), 'destroy', 'frontend.destroy_item', not_exists, ), 314 (_('Destroy Item'), 'destroy', 'frontend.destroy_item', not_exists, ),
315 (_('-----------------------------------'), 'show', 'frontend.show_item', True),
316 (_('Administration'), 'admin', 'admin.index', False, ),
315 ] 317 ]
316 return [(title, disabled, endpoint) 318 return [(title, disabled, endpoint)
317 for title, action, endpoint, disabled in menu 319 for title, action, endpoint, disabled in menu
318 if action not in self.cfg.actions_excluded] 320 if action not in self.cfg.actions_excluded]
319 321