Commit 490834f4 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_advanced_ecommerce: display nice header title

parent 9deeb0ca
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
dummy python: request.set('page_navigation_template', 'ListBox_viewTextPageNavigationRenderer'); dummy python: request.set('page_navigation_template', 'ListBox_viewTextPageNavigationRenderer');
global css_list_template python:[]; global css_list_template python:[];
global js_list python:[]; global js_list python:[];
global header_title python:here == website and website.getTranslatedTitleOrId() or '%s | %s' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());
isAnon here/portal_membership/isAnonymousUser; isAnon here/portal_membership/isAnonymousUser;
title context/getTranslatedTitle | website/getTranslatedTitle"> title context/getTranslatedTitle | website/getTranslatedTitle">
<tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master"> <tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">
......
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