From b67d078820037e52817a7bdd514b0c1547c7254d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 7 Sep 2006 20:45:33 +0000 Subject: [PATCH] title was *always* translated (if someone has a good idea on how to test this) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9755 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_xhtml_style/template_erp5_xhtml_style.xml | 3 ++- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml index 3b0c498c1b..ccdb654ad1 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml @@ -88,7 +88,8 @@ IDEAS:\n <base tal:attributes="href python: \'%s/\' % (url, )"/>\n <meta name="generator" content="ERP5"/>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n - <title tal:content="title | template/title_or_id" i18n:translate="" i18n:domain="ui"></title>\n + <title tal:condition="title | nothing" tal:content="title"/>\n + <title tal:condition="not:title | nothing" tal:content="template/title_or_id" i18n:translate="" i18n:domain="ui"></title>\n <tal:block tal:repeat="css css_list">\n <link tal:attributes="href css" type="text/css" rel="stylesheet"/>\n </tal:block>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 2efea5198b..a3090d211b 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -167 \ No newline at end of file +168 \ No newline at end of file -- 2.30.9