from __future__ import unicode_literals from navigation import Menu __all__ = ( 'menu_facet', 'menu_front_page', 'menu_object', 'menu_main', 'menu_multi_item', 'menu_secondary', 'menu_setup', 'menu_sidebar', 'menu_tools' ) menu_facet = Menu(name='object facet') menu_front_page = Menu(name='front page menu') menu_object = Menu(name='object menu') menu_main = Menu(name='main menu') menu_multi_item = Menu(name='multi item menu') menu_secondary = Menu(name='secondary menu') menu_setup = Menu(name='setup menu') menu_sidebar = Menu(name='sidebar menu') menu_tools = Menu(name='tools menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu __all__ = ('menu_about', 'menu_facet', 'menu_object', 'menu_main', 'menu_multi_item', 'menu_secondary', 'menu_setup', 'menu_sidebar', 'menu_tools', 'menu_user') menu_about = Menu(icon='fa fa-info', label=_('System'), name='about menu') menu_facet = Menu(name='object facet') menu_object = Menu(name='object menu') menu_main = Menu(name='main menu') menu_multi_item = Menu(name='multi item menu') menu_secondary = Menu(name='secondary menu') menu_setup = Menu(name='setup menu') menu_sidebar = Menu(name='sidebar menu') menu_tools = Menu(name='tools menu') menu_user = Menu(icon='fa fa-user', name='user menu', label=_('User'))
from __future__ import absolute_import, unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu from .icons import icon_menu_documents menu_documents = Menu(icon_class=icon_menu_documents, label=_('Documents'), name='documents menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu menu_cabinets = Menu(icon='fa fa-columns', label=_('Cabinets'), name='cabinets menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu, get_cascade_condition from .icons import icon_cabinet_list from .permissions import permission_cabinet_create, permission_cabinet_view menu_cabinets = Menu(condition=get_cascade_condition( app_label='cabinets', model_name='Cabinet', object_permission=permission_cabinet_view, view_permission=permission_cabinet_create, ), icon_class=icon_cabinet_list, label=_('Cabinets'), name='cabinets menu')
from __future__ import absolute_import, unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu menu_documents = Menu(icon='fa fa-file', label=_('Documents'), name='documents menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu, get_cascade_condition from .icons import icon_menu_tags from .permissions import permission_tag_create, permission_tag_view menu_tags = Menu(condition=get_cascade_condition( app_label='tags', model_name='Tag', object_permission=permission_tag_view, view_permission=permission_tag_create, ), icon_class=icon_menu_tags, label=_('Tags'), name='tags menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu menu_tags = Menu(icon='fa fa-tag', label=_('Tags'), name='tags menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu from .icons import icon_cabinet_list menu_cabinets = Menu(icon_class=icon_cabinet_list, label=_('Cabinets'), name='cabinets menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu from .icons import icon_menu_tags menu_tags = Menu(icon_class=icon_menu_tags, label=_('Tags'), name='tags menu')
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Menu menu_folders = Menu(icon='fa fa-folder', label=_('Folders'), name='folders menu')