web/views/ibreadcrumbs.py
branchstable
changeset 3030 e086df78e267
parent 3015 0588e39f6743
child 3035 2e4a381ea5b7
child 3089 72c23fc7fe20
child 3179 0684544f6d0d
equal deleted inserted replaced
3028:6484158121b4 3030:e086df78e267
    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