Пример #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)
Пример #2
0
 def _get_breadcrumbs(self):
     if 'user_id' in request.view_args:
         user = User.get(request.view_args['user_id'])
         profile_breadcrumb = _('Profile of {name}').format(
             name=user.full_name)
     else:
         profile_breadcrumb = _('My Profile')
     return render_breadcrumbs(profile_breadcrumb)
Пример #3
0
 def _get_breadcrumbs(self):
     return render_breadcrumbs(_('Videoconference'))
Пример #4
0
 def _get_breadcrumbs(self):
     return render_breadcrumbs(event=self.event, management=True)
Пример #5
0
 def _get_breadcrumbs(self):
     return render_breadcrumbs(_('Terms and Conditions'))
Пример #6
0
 def _get_breadcrumbs(self):
     if self.category.is_root:
         return ''
     return render_breadcrumbs(category=self.category, management=True)
Пример #7
0
 def _get_breadcrumbs(self):
     if not self.category or self.category.is_root:
         return ''
     return render_breadcrumbs(category=self.category)
Пример #8
0
 def _get_breadcrumbs(self):
     return render_breadcrumbs(_('Contact'))
Пример #9
0
 def _get_breadcrumbs(self):
     return render_breadcrumbs(_('Room Booking'))