web/views/ibreadcrumbs.py
branchstable
changeset 5291 593adaccd737
parent 4802 fa2297d6542a
child 5421 8167de96c523
--- a/web/views/ibreadcrumbs.py	Thu Apr 15 17:28:27 2010 +0200
+++ b/web/views/ibreadcrumbs.py	Thu Apr 15 17:35:17 2010 +0200
@@ -62,10 +62,7 @@
 
     def wpath_part(self, part, contextentity, last=False):
         if isinstance(part, Entity):
-            if last and part.eid == contextentity.eid:
-                self.w(xml_escape(part.view('breadcrumbtext')))
-            else:
-                self.w(part.view('breadcrumbs'))
+            self.w(part.view('breadcrumbs'))
         elif isinstance(part, tuple):
             url, title = part
             textsize = self._cw.property_value('navigation.short-line-size')