Commit 1674776a authored by Nicolas Delaby's avatar Nicolas Delaby

Display translated title instead of id in browser title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15846 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9beef65b
......@@ -91,7 +91,7 @@ IDEAS:\n
<meta name="generator" content="ERP5"/>\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n
<title tal:define="title title | string:ERP5"\n
tal:content="python: \'%s | %s\' % (title, here.getPortalObject().getTitle() or here.getPortalObject().getId())"/>\n
tal:content="python: \'%s | %s\' % (getattr(here, \'getTranslatedTitle\', None) is not None and here.getTranslatedTitle() or title, here.getPortalObject().getTitle() or here.getPortalObject().getId())"/>\n
<tal:block tal:repeat="css css_list">\n
<link tal:attributes="href css" type="text/css" rel="stylesheet"/>\n
</tal:block>\n
......
415
\ No newline at end of file
417
\ No newline at end of file
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