diff -r 672acc730ce5 -r d628defebc17 web/views/ibreadcrumbs.py --- a/web/views/ibreadcrumbs.py Thu May 14 10:24:56 2009 +0200 +++ b/web/views/ibreadcrumbs.py Thu May 14 11:38:40 2009 +0200 @@ -21,7 +21,7 @@ def bc_title(entity): textsize = entity.req.property_value('navigation.short-line-size') return html_escape(cut(entity.dc_title(), textsize)) - + class BreadCrumbEntityVComponent(EntityVComponent): id = 'breadcrumbs' @@ -52,7 +52,7 @@ self.w(u"\n") self.wpath_part(parent, entity, i == len(path) - 1) self.w(u'') - + def wpath_part(self, part, contextentity, last=False): if isinstance(part, Entity): if last and part.eid == contextentity.eid: @@ -67,7 +67,7 @@ else: textsize = self.req.property_value('navigation.short-line-size') self.w(cut(unicode(part), textsize)) - + class BreadCrumbComponent(BreadCrumbEntityVComponent): __registry__ = 'components'