web/views/ibreadcrumbs.py
changeset 3035 2e4a381ea5b7
parent 3023 7864fee8b4ec
parent 3030 e086df78e267
child 3090 8184bec7414d
equal deleted inserted replaced
3024:bfaf056f1029 3035:2e4a381ea5b7
    83         root = path.pop(0)
    83         root = path.pop(0)
    84         if isinstance(root, Entity):
    84         if isinstance(root, Entity):
    85             self.w(u'<a href="%s">%s</a>' % (self.req.build_url(root.id),
    85             self.w(u'<a href="%s">%s</a>' % (self.req.build_url(root.id),
    86                                              root.dc_type('plural')))
    86                                              root.dc_type('plural')))
    87         else:
    87         else:
    88             self.wpath_part(root, entity, not path)
    88             self.wpath_part(root, contextentity, not path)
    89 
    89 
    90 
    90 
    91 class BreadCrumbAnyRSetVComponent(BreadCrumbEntityVComponent):
    91 class BreadCrumbAnyRSetVComponent(BreadCrumbEntityVComponent):
    92     __select__ = any_rset()
    92     __select__ = any_rset()
    93 
    93