Changeset 3627 in products for quintagroup.dropdownmenu/trunk/quintagroup
- Timestamp:
- Feb 13, 2013 10:03:38 AM (11 years ago)
- Location:
- quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections.pt
r3626 r3627 3 3 i18n:domain="plone"> 4 4 <p class="hiddenStructure" i18n:translate="heading_sections">Navigation</p> 5 <ul id="portal-globalnav" tal:attributes="class python:view.conf.mobile_menu and 'mobileMenuOn' or ''">5 <ul id="portal-globalnav" tal:attributes="class python:view.conf.mobile_menu and 'mobileMenuOn' or nothing"> 6 6 <li tal:replace="structure menu"> 7 7 DropDown Menu -
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt
r3220 r3627 6 6 <metal:main define-macro="sections_main"> 7 7 <tal:navitem repeat="node children"> 8 <li tal:define="show_children node/show_children; 9 children node/children; 10 item_url node/getURL; 11 item_icon node/item_icon; 12 is_current node/currentItem; 8 <li tal:define="is_current node/currentItem; 13 9 is_in_path node/currentParent; 14 10 li_curr_class python:is_current and 'selected' or ''; 15 11 li_extr_class python:(is_in_path and not is_current) and 'selected' or ''; 16 12 li_extr_class python:(not (is_in_path or is_current)) and li_extr_class + 'plain' or li_extr_class; 17 item_type node/normalized_portal_type | nothing;18 13 li_class string:${li_curr_class}${li_extr_class}; 19 li_class python: children and li_class or li_class"20 tal:attributes="class string:$li_class">14 li_class python:li_class or nothing" 15 tal:attributes="class li_class"> 21 16 22 <tal:level define="show_icons view/conf/show_icons; 23 a_class python:children and 'hasChildrens' or ''"> 17 <tal:level define="show_children node/show_children; 18 children node/children; 19 show_icons view/conf/show_icons; 20 item_icon node/item_icon; 21 item_type node/normalized_portal_type | nothing; 22 a_class python:children and 'hasChildrens' or nothing"> 24 23 25 <a tal:attributes="href python:item_url;26 title node/Description ;27 class string:${a_class}">24 <a tal:attributes="href node/getURL; 25 title node/Description|nothing; 26 class a_class"> 28 27 <img tal:condition="python: show_icons and not plonefour" 29 28 tal:replace="structure item_icon/html_tag | nothing" />
Note: See TracChangeset
for help on using the changeset viewer.