Changeset 2657 in products for quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt
- Timestamp:
- Jul 9, 2010 2:49:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt
r1197 r2657 1 1 <tal:master define="level options/level|python:0; 2 children options/children | nothing" 2 children options/children | nothing; 3 plonefour view/is_plone_four" 3 4 i18n:domain="plone"> 4 5 … … 15 16 li_extr_class python:(is_in_path and not is_current) and li_extr_class + ' selected' or li_extr_class; 16 17 li_extr_class python:(not (is_in_path or is_current)) and li_extr_class + ' plain' or li_extr_class; 17 li_folder_class python:show_children and ' globalSectionsFolderish' or '';" 18 li_folder_class python:show_children and ' globalSectionsFolderish' or ''; 19 item_type node/normalized_portal_type | nothing" 18 20 tal:attributes="class string:globalSectionsItem visualNoMarker${li_class}${li_extr_class}${li_folder_class}"> 19 21 20 <tal:level define="item_class string:state-${node/normalized_review_state}"> 22 <tal:level define="show_icons view/conf/show_icons; 23 item_class string:state-${node/normalized_review_state}"> 24 21 25 <a tal:attributes="href python:item_url; 22 26 title node/Description; 23 27 class string:$item_class${li_class}${li_extr_class}${li_folder_class}"> 24 <img tal:condition="view/conf/show_icons" 25 tal:replace="structure item_icon/html_tag" /> 26 <span tal:content="node/Title">Selected Item Title</span> 28 <img tal:condition="python: show_icons and not plonefour" 29 tal:replace="structure item_icon/html_tag | nothing" /> 30 <span tal:content="node/Title" 31 tal:attributes="class python: plonefour and show_icons and item_type and 'contenttype-'+ item_type or nothing">Selected Item Title</span> 27 32 </a> 28 33
Note: See TracChangeset
for help on using the changeset viewer.