Ignore:
Timestamp:
01/02/07 17:13:33 (13 years ago)
Author:
jukka
Message:

Fixed #1055, spent 1.5h.

File:
1 edited

Legend:

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

    r1242 r1252  
    1616    <tal:lengthies tal:define="length python:field.getLength(piece);"> 
    1717        <span i18n:translate="audio_length">Audio clip length:</span> 
    18         <span tal:condition="length/hour"><tal:hour replace="length/hour"/>:</span><span tal:replace="length/minute"/>:<span tal:replace="length/second"/><br/> 
     18<span tal:condition="length/hour"><tal:hour replace="length/hour"/>:</span><span tal:replace="python:'%02d' % length['minute']"/>:<span tal:replace="python:'%02d' % length['second']"/><br/> 
    1919    </tal:lengthies> 
    2020    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" 
     
    5050<p tal:define="length python:field.getLength(here);"> 
    5151<span i18n:translate="audio_length">Audio clip length:</span> 
    52 <span tal:condition="length/hour"><tal:hour replace="length/hour"/>:</span><span tal:replace="length/minute"/>:<span tal:replace="length/second"/> 
     52<span tal:condition="length/hour"><tal:hour replace="length/hour"/>:</span><span tal:replace="python:'%02d' % length['minute']"/>:<span tal:replace="python:'%02d' % length['second']"/> 
    5353</p> 
    5454 
Note: See TracChangeset for help on using the changeset viewer.