Exemplo n.º 1
0
 def _get_breadcrumbs(self):
     menu_item = get_menu_item('admin-sidemenu',
                               self._kwargs['active_menu_item'])
     items = [_('Administration')]
     if menu_item:
         items.append(menu_item.title)
     return render_breadcrumbs(*items)
Exemplo n.º 2
0
 def _get_breadcrumbs(self):
     menu_item = get_menu_item('admin-sidemenu',
                               self._kwargs['active_menu_item'])
     items = [(_('Administration'), url_for('core.admin_dashboard'))]
     if menu_item:
         items.append(menu_item.title)
     return render_breadcrumbs(*items)
Exemplo n.º 3
0
 def _get_breadcrumbs(self):
     menu_item = get_menu_item('admin-sidemenu', self._kwargs['active_menu_item'])
     items = [_('Administration')]
     if menu_item:
         items.append(menu_item.title)
     return render_breadcrumbs(*items)
Exemplo n.º 4
0
 def _getNavigationDrawer(self):
     menu_item = get_menu_item('admin-sidemenu', self._kwargs['active_menu_item'])
     items = [_('Administration')]
     if menu_item:
         items.append(menu_item.title)
     return WSimpleNavigationDrawer(*items)