Changeset 1369


Ignore:
Timestamp:
02/13/07 14:40:22 (13 years ago)
Author:
pjotr
Message:

Some changes for the recent items time

File:
1 edited

Legend:

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

    r1348 r1369  
    195195     "> 
    196196     <p> 
     197  <tal:days condition="python:timedif['days']>=1"> 
    197198    <span tal:condition="python:timedif['days']>1" i18n:translate="n_days"> 
    198199     <span i18n:name="n" tal:replace="timedif/days" /> 
     
    200201    </span> 
    201202    <span tal:condition="python:timedif['days']==1" i18n:translate="oneday"> 
    202      <span i18n:name="n" tal:replace="timedif/days" /> 
    203      day 
    204     </span> 
     203     1 day 
     204    </span> 
     205  </tal:days> 
     206  <tal:hours condition="python:timedif['days']<1"> 
    205207    <span tal:condition="python:timedif['hours']>1" i18n:translate="n_hours"> 
    206208     <span i18n:name="n" tal:replace="timedif/hours" /> 
     
    208210    </span> 
    209211    <span tal:condition="python:timedif['hours']==1" i18n:translate="onehour"> 
    210      <span i18n:name="n" tal:replace="timedif/hours" /> 
    211      hour 
    212     </span> 
    213     <span tal:condition="python:timedif['minutes'] and timedif['hours']" i18n:translate="and"> 
    214     and 
    215     </span> 
     212     1 hour 
     213    </span> 
     214  </tal:hours> 
     215  <tal:minutes condition="python:(timedif['days']<1) and (timedif['hours']<1)"> 
    216216    <span tal:condition="python:timedif['minutes']>1" i18n:translate="n_minutes"> 
    217217     <span i18n:name="n" tal:replace="timedif/minutes" /> 
     
    219219    </span> 
    220220    <span tal:condition="python:timedif['minutes']==1" i18n:translate="oneminute"> 
    221      <span i18n:name="n" tal:replace="timedif/minutes" /> 
    222      minute 
    223     </span> 
     221     1 minute 
     222    </span> 
     223    <span tal:condition="python:timedif['minutes']<1" i18n:translate="less_than_a_minute"> 
     224        less than a minute 
     225    </span> 
     226  </tal:minutes> 
    224227    <span i18n:translate="ago">ago</span>  
    225228 
     
    227230        tal:attributes="href obj_url" tal:content="name"> 
    228231    </a> 
    229     was changed by 
     232    <span tal:omit-tag="" i18n:translate="was_changed_by">was changed by</span> 
    230233    <a href="#" tal:attributes="href editor_url" tal:content="editor_nicename"/> 
    231234    </p> 
Note: See TracChangeset for help on using the changeset viewer.