Commit fbaa7e45 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: Translate breadcrumbs

parent 0077d3f6
......@@ -45,7 +45,7 @@
current_web_document python:request.get(\'current_web_document\', here);\n
is_web_section_default_document python:request.get(\'is_web_section_default_document\',False);\n
breadcrumb_list python: current_web_section.getBreadcrumbItemList(current_web_document);\n
breadcrumb_list python: [(\'Home\',current_web_site,\'Go to the home page\')] + breadcrumb_list[1:]">\n
breadcrumb_list python: [(context.Base_translateString(\'Home\'), current_web_site, context.Base_translateString(\'Go to the home page\'))] + breadcrumb_list[1:]">\n
<ul class="breadcrump">\n
<li tal:repeat="breadcrumb python:breadcrumb_list[:(is_web_section_default_document and -1 or None)]">\n
<a href="#" tal:attributes="href python:breadcrumb[1].absolute_url();\n
......
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