Changeset 1872

Show
Ignore:
Timestamp:
06/27/07 12:57:41 (5 years ago)
Author:
laszlo
Message:

fixed #1434 spent 28h

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/skins/lemill/lemill_recent_view.pt

    r1751 r1872  
    1313                 parent_folder python:context.aq_inner.aq_parent.title_or_id().lower(); 
    1414                 limit_display limit_display|request/limit_display|nothing; 
    15                  use_view_action site_properties/typesUseViewActionInListings;  
    16                  folderContents folderContents|here/queryCatalogForTopics; 
     15                 use_view_action site_properties/typesUseViewActionInListings; 
     16                 contentList here/queryCatalogForTopics; 
     17                 userList here/../community/members/queryCatalogForTopics;                    
     18                 folderContents folderContents|python: contentList + userList; 
    1719                 over_limit python: limit_display and len(folderContents) > limit_display; 
    1820                 folderContents python: (over_limit and folderContents[:limit_display]) or folderContents; 
     
    3739            <li tal:repeat="obj batch" class="resultobject"> 
    3840 
     41                <tal:condition tal:condition="python: obj.meta_type != 'MemberFolder'">     
    3942                <tal:objdefs tal:define=" 
    4043                     real_obj obj/getObject|obj; 
     
    4649                     editor_nicename editorhome/NiceName | editorhome; 
    4750                     editor_url editorhome/absolute_url |editorhome; 
    48                      timedif python:context.lemill_tool.getTimeDifference(modDate);      
     51                     timedif python:context.lemill_tool.getTimeDifference(modDate); 
    4952                     "> 
     53                     
    5054                     <p> 
    51                   <metal:use_nicetimes use-macro="here/macros_timedifference/macros/days_ago" /> 
     55                    <metal:use_nicetimes use-macro="here/macros_timedifference/macros/days_ago" /> 
    5256                    <a href=""  
    5357                        tal:attributes="href obj/getURL" tal:content="name"> 
     
    5862                    </p> 
    5963                </tal:objdefs> 
     64                </tal:condition> 
     65                 
     66                <tal:objdefs tal:condition="python: obj.meta_type == 'MemberFolder'" 
     67                tal:define=" 
     68                      modDate python: obj.CreationDate; 
     69                      timedif python:context.lemill_tool.getTimeDifference(modDate); 
     70                "> 
     71                     <p> 
     72                    <metal:use_nicetimes use-macro="here/macros_timedifference/macros/days_ago" /> 
     73                    <a href=""  
     74                        tal:attributes="href obj/getURL" tal:content="obj/getNicename"> 
     75                    </a> 
     76                    joined LeMill 
     77                    </p> 
     78                </tal:objdefs> 
     79                 
    6080         
    6181            </li>