Ignore:
Timestamp:
08/09/06 14:06:32 (13 years ago)
Author:
szabolcs
Message:

closes #642 spent 20m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/lemill_choose_template.pt

    r477 r608  
    1313 
    1414            <ul> 
    15                 <li tal:repeat="templ templates/keys"><a href="addMaterial?use_template=simple-text" 
     15                <!-- sorted(templates.keys()) in python2.4 is short for (lambda x, y: (x.sort(), y)[1])(*([templates.keys()] * 2)) --> 
     16                <li tal:repeat="templ python:(lambda x, y: (x.sort(), y)[1])(*([templates.keys()] * 2))"><a href="addMaterial?use_template=simple-text" 
    1617                    tal:attributes="href python:'createObject?type_name='+templates.get(templ).get('meta_type'); 
    1718                                    i18n:translate string:link_template_$templ;" 
Note: See TracChangeset for help on using the changeset viewer.