Ignore:
Timestamp:
Jul 19, 2010 1:06:05 PM (10 years ago)
Author:
fenix
Message:

now drop down elements have additional class if they have any children.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt

    r2657 r2699  
    1717                li_extr_class   python:(not (is_in_path or is_current)) and li_extr_class + ' plain' or li_extr_class; 
    1818                li_folder_class python:show_children and ' globalSectionsFolderish' or ''; 
    19                 item_type       node/normalized_portal_type | nothing" 
    20     tal:attributes="class string:globalSectionsItem visualNoMarker${li_class}${li_extr_class}${li_folder_class}"> 
     19                item_type       node/normalized_portal_type | nothing; 
     20                li_class string:globalSectionsItem visualNoMarker${li_class}${li_extr_class}${li_folder_class}" 
     21    tal:attributes="class python:children and li_class+' hasChildrens' or li_class"> 
    2122 
    2223    <tal:level define="show_icons view/conf/show_icons; 
Note: See TracChangeset for help on using the changeset viewer.