Changeset 3105


Ignore:
Timestamp:
11/09/10 16:55:44 (9 years ago)
Author:
jukka
Message:

Fixed #2003

File:
1 edited

Legend:

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

    r3093 r3105  
    1717    'flv-video':'here/macros_flowplayer/macros/flowplayer_piece', 
    1818    'kml':'here/piece_macros/macros/kml_macro_with_download', 
    19     'unknown':'here/piece_macros/macros/download_only'}; 
    20     piece_type test(piece_type in macro_mapping, piece_type, 'unknown');"> 
    21     <metal:view_macro use-macro="python:path(macro_mapping[piece_type])" /> 
     19    'unknown':'here/piece_macros/macros/download_only'};"> 
     20    <metal:view_macro use-macro="python:path(macro_mapping.get(piece_type, 'here/piece_macros/macros/download_only'))" /> 
    2221 
    2322    <tal:is_source define="source context/getSourceFile" condition="source"><br /> 
Note: See TracChangeset for help on using the changeset viewer.