Ignore:
Timestamp:
07/17/06 14:53:49 (13 years ago)
Author:
vahur
Message:

closes #463 spent 2h

File:
1 edited

Legend:

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

    r430 r459  
    4444        <li tal:condition="not:isAnon"><a href="" tal:attributes="href python:str(here.absolute_url())+'/collection_add'">Add to collection</a></li> 
    4545        <!-- 2 li's displayed for all users --> 
    46         <li tal:condition="colls" tal:define="colls context/getCollectionsFolder | nothing;"> 
     46        <li tal:condition="colls" tal:define="userfolder python:mtool.getHomeFolder(str(member)); 
     47                                              colls userfolder/getCollectionsFolder | nothing;"> 
    4748            <a href=""  
    48                 tal:attributes="href string:${colls/absolute_url}?obj_id=${context/getId}"> 
     49                tal:attributes="href string:${colls/absolute_url}?obj_id=${context/UID}"> 
    4950                View collections</a>  
    50             <span tal:replace="python:'('+str(len(colls.getCollections(context.getId())))+')'">(1)</span> 
     51            <span tal:replace="python:'('+str(len(colls.getCollections(context.UID())))+')'">(1)</span> 
    5152        </li> 
    5253    </tal:macro> 
Note: See TracChangeset for help on using the changeset viewer.