Commit fce99a63 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_xhtml_style: use getCompactTranslatedTitle for breadcrumb

parent 12490240
...@@ -196,8 +196,7 @@ for name in relative:\n ...@@ -196,8 +196,7 @@ for name in relative:\n
now.append(name)\n now.append(name)\n
if module:\n if module:\n
title = (\n title = (\n
getattr(obj, "getTranslatedShortTitle", lambda: None)() or\n getattr(obj, "getCompactTranslatedTitle", lambda: None)() or\n
getattr(obj, "getTranslatedTitleOrId", lambda: None)() or\n
obj.getTitle() or obj.getId()\n obj.getTitle() or obj.getId()\n
)\n )\n
else:\n else:\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment