Changeset 3058 in products for quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt
- Timestamp:
- Dec 29, 2010 10:00:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt
r2834 r3058 12 12 is_current node/currentItem; 13 13 is_in_path node/currentParent; 14 li_class python:is_current and ' globalSectionsCurrentNode selected' or ''; 15 li_extr_class python:is_in_path and ' globalSectionsItemInPath' or ''; 16 li_extr_class python:(is_in_path and not is_current) and li_extr_class + ' selected' or li_extr_class; 17 li_extr_class python:(not (is_in_path or is_current)) and li_extr_class + ' plain' or li_extr_class; 18 li_folder_class python:show_children and ' globalSectionsFolderish' or ''; 14 li_curr_class python:is_current and 'selected' or ''; 15 li_extr_class python:(is_in_path and not is_current) and 'selected' or ''; 16 li_extr_class python:(not (is_in_path or is_current)) and li_extr_class + 'plain' or li_extr_class; 19 17 item_type node/normalized_portal_type | nothing; 20 li_class string: globalSectionsItem visualNoMarker${li_class}${li_extr_class}${li_folder_class};21 li_class python:children and li_class +' hasChildrens'or li_class"22 tal:attributes="class li_class">18 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"> 23 21 24 22 <tal:level define="show_icons view/conf/show_icons; 25 item_class string:state-${node/normalized_review_state}">23 a_class python:children and 'hasChildrens' or ''"> 26 24 27 25 <a tal:attributes="href python:item_url; 28 26 title node/Description; 29 class string:$ item_class${li_class}${li_extr_class}${li_folder_class}">27 class string:${a_class}"> 30 28 <img tal:condition="python: show_icons and not plonefour" 31 29 tal:replace="structure item_icon/html_tag | nothing" /> … … 34 32 </a> 35 33 36 <ul tal:attributes="class python:'globalSections globalSectionsLevel'+str(level)"34 <ul tal:attributes="class python:'globalSectionsLevel'+str(level)" 37 35 tal:condition="python: len(children) > 0 and show_children"> 38 36 <li tal:replace="structure python:view.recurse(children=children, level=level+1)">
Note: See TracChangeset
for help on using the changeset viewer.