Commit a963f219 authored by Vincent Desmares's avatar Vincent Desmares

Active localisation in WebSection_viewSiteTitleWidget and make the code more...

Active localisation in WebSection_viewSiteTitleWidget and make the code more readable in WebSection_viewSubsectionWidget.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26409 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7cd152a9
......@@ -69,15 +69,17 @@
<a class="sitelogo"\n
href="#"\n
title="Home"\n
i18n:translate="" i18n:domain="ui"\n
tal:attributes="href current_web_site/absolute_url;\n
title python:current_web_site.getLayoutProperty(\'layout_header_title\')"></a> <!-- Make a script for search an image who have the site in follow_up / install DMS-->\n
<div class="sitename">\n
<h1><a href="#"\n
title="Home"\n
i18n:translate="" i18n:domain="ui"\n
tal:content="current_web_section_header_title"\n
tal:attributes="href current_web_site/absolute_url;\n
title current_web_section_header_title">Site Name</a></h1>\n
<h2 tal:content="python:current_web_section.getLayoutProperty(\'layout_header_moto\')">Open Source Designs</h2>\n
<h2 i18n:translate="" i18n:domain="ui" tal:content="python:current_web_section.getLayoutProperty(\'layout_header_moto\')">Open Source Designs</h2>\n
</tal:block>
]]></string> </value>
......
......@@ -57,8 +57,10 @@
\n
\n
<ul tal:define="current_web_section python:request.get(\'current_web_section\', here)">\n
<li tal:repeat="subsection python:current_web_section.WebSection_getSiteMapTree(depth=1)"><a href="#" tal:content="subsection/translated_title"\n
tal:attributes="href subsection/url">Menu item</a></li>\n
<li tal:repeat="subsection python:current_web_section.WebSection_getSiteMapTree(depth=1)">\n
<a href="#" tal:content="subsection/translated_title"\n
tal:attributes="href subsection/url">Menu item</a>\n
</li>\n
</ul>
]]></string> </value>
......
64
\ No newline at end of file
65
\ 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