Commit 4dde4065 authored by Ivan Tyagov's avatar Ivan Tyagov

Improve top menu navigation.

parent ef0afb71
......@@ -58,17 +58,20 @@
breadcrumb_list python: current_web_section.getBreadcrumbItemList(current_web_document);">\n
<ul class="breadcrumb">\n
<li tal:repeat="breadcrumb python:breadcrumb_list[:(is_web_section_default_document and -1 or None)]">\n
<a href="#" tal:attributes="href python:current_web_section.getPermanentURL(breadcrumb[1]);\n
title python:breadcrumb[2];"\n
<tal:block tal:define="is_last repeat/breadcrumb/end">\n
<a href="#"\n
tal:attributes="href python:current_web_section.getPermanentURL(breadcrumb[1]);\n
title python:breadcrumb[2];\n
class python: test(is_last, \'last-breadcrumb\', \'breadcrumb\')"\n
tal:content="python:breadcrumb[0]">Title</a>\n
<tal:block tal:condition="not: repeat/breadcrumb/end">\n
<img class="breadcrumb_separator" src="../km_img/crumb.png" alt="&gt;"\n
<img tal:condition="not: is_last"\n
class="breadcrumb_separator"\n
src="../km_img/crumb.png" alt="&gt;"\n
tal:attributes="src string:${portal_path}/km_img/crumb.png"/>\n
</tal:block>\n
</li>\n
</ul>\n
</tal:block>\n
</tal:block>
]]></unicode> </value>
</item>
......@@ -86,7 +89,7 @@
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
<value> <string>iso-8859-15</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -79,7 +79,7 @@
<tal:block tal:repeat="menu_item menu_item_list">\n
\n
<li tal:define="sub_item_list menu_item/subsection"\n
tal:attributes="class python:\'menu_item_%s\' % repeat[\'menu_item\'].index + \' \' + (sub_item_list and \'collapse-menu\' or \'\')">\n
tal:attributes="class python:\'menu_item_%s collapse-menu\' % repeat[\'menu_item\'].index + \' \' + (sub_item_list and \'collapse-able\' or \'\')">\n
<a tal:attributes="href menu_item/url" >\n
<tal:block tal:replace="menu_item/compact_translated_title | menu_item/translated_title">Menu</tal:block>\n
</a>\n
......
......@@ -252,11 +252,14 @@ div#wrapper_headline div.header_title {\n
height:100%;\n
}\n
\n
#menu ul li.collapse-menu{\n
#menu ul li.collapse-able{\n
background: url(km_img/collapse-down-arrow.gif) no-repeat transparent right 10px;\n
padding-right: 0px;\n
}\n
\n
\n
\n
\n
#menu ul li.non-collapse-menu{\n
background: none;\n
padding-right: 0px;\n
......
1857
\ No newline at end of file
1858
\ 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