--- a/web/views/ibreadcrumbs.py Wed Jun 03 09:09:33 2009 +0200
+++ b/web/views/ibreadcrumbs.py Thu Apr 04 13:49:34 2019 +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'</span>')
-
+
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'