web/views/ibreadcrumbs.py
changeset 7979 8bd5031e2201
parent 7841 287813c487b7
parent 7976 48e1f7992507
child 8190 2a3c1b787688
equal deleted inserted replaced
7973:64639bc94e25 7979:8bd5031e2201
   161             textsize = self._cw.property_value('navigation.short-line-size')
   161             textsize = self._cw.property_value('navigation.short-line-size')
   162             w(self.link_template % (
   162             w(self.link_template % (
   163                 xml_escape(url), xml_escape(uilib.cut(title, textsize))))
   163                 xml_escape(url), xml_escape(uilib.cut(title, textsize))))
   164         else:
   164         else:
   165             textsize = self._cw.property_value('navigation.short-line-size')
   165             textsize = self._cw.property_value('navigation.short-line-size')
   166             w(uilib.cut(unicode(part), textsize))
   166             w(xml_escape(uilib.cut(unicode(part), textsize)))
   167 
   167 
   168 
   168 
   169 class BreadCrumbETypeVComponent(BreadCrumbEntityVComponent):
   169 class BreadCrumbETypeVComponent(BreadCrumbEntityVComponent):
   170     __select__ = (basecomponents.HeaderComponent.__select__
   170     __select__ = (basecomponents.HeaderComponent.__select__
   171                   & multi_lines_rset() & one_etype_rset()
   171                   & multi_lines_rset() & one_etype_rset()