Commit 5761d000 authored by Jérome Perrin's avatar Jérome Perrin

define <title> with pure i18n tag (no more reference to translation_service or Localizer).

fix indentation & empty lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5233 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d37f468f
......@@ -97,28 +97,26 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<head tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')">\n
<meta name="description" content="Generated by view_master" />\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n
<title tal:content="python:\'%s - %s\' % (here.Localizer.erp5_ui.gettext(template.title_or_id()),\n
here.Localizer.erp5_content.gettext(unicode(here.getTitleOrId(), \'utf8\')))"> The title </title>\n
<title i18n:translate="" i18n:domain="ui">\n
<tal:block i18n:name="form_title"\n
i18n:domain="ui"\n
i18n:translate=""\n
tal:content="template/title_or_id"\n
/> - <tal:block i18n:name="object_title" \n
i18n:domain="content"\n
i18n:translate=""\n
tal:content="here/getTitleOrId"/></title>\n
<link href="erp5.css" rel="stylesheet" type="text/css"\n
tal:attributes="href python: here.portal_url() + \'/\' + \'erp5.css\'" />\n
\n
\n
<tal:block tal:condition="exists: python:form.get_field(\'planning_box\')" tal:on-error="nothing">\n
<tal:block tal:condition="exists: python:form.get_field(\'planning_box\')" tal:on-error="nothing">\n
<tal:block tal:define="planning_box1 python:form.get_field(\'planning_box\');dummy python:request.set(\'here\',here)" >\n
<style tal:content="structure python: planning_box1.render_css(None,REQUEST=request)"/>\n
</tal:block>\n
\n
</tal:block>\n
\n
\n
<style tal:content="structure python: planning_box1.render_css(None,REQUEST=request)"/>\n
</tal:block>\n
</tal:block>\n
</head>\n
\n
<body LEFTMARGIN=0 TOPMARGIN=0 MARGINHEIGHT="0" MARGINWIDTH="0">\n
\n
\n
\n
\n
\n
<form action="Test" name="main_form" id="main_form"\n
tal:attributes="action here/absolute_url;\n
method form/method | python:\'post\';\n
......@@ -209,12 +207,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:attributes="src string:$portal_url/images/spacer.png"/>\n
</td>\n
</tr>\n
\n
\n
\n
</table>\n
</form>\n
<!--<span tal:replace="structure request" />-->\n
</body>\n
</html>
......
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