Changeset 896

Show
Ignore:
Timestamp:
06/25/07 07:36:07
Author:
chervol
Message:

fixed the recent portlet markup, added extra css class for the 'more...' link

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • SimpleBlog/branches/optimizations/skins/SimpleBlog/simpleblog_portlet_macros.pt

    r823 r896  
    2424 
    2525<!-- macro used by the portlets to compile a list of recent additions --> 
    26 <div metal:define-macro="portletRecent"><tal:block  
     26<div metal:define-macro="portletRecent" tal:omit-tag=""><tal:block  
    2727           tal:define="maxResults here/simpleblog_tool/getMaxItemsInPortlet; 
    2828                       recent python:startpoint.getEntries(maxResults=maxResults,skipOnTop=1, join=1)[0]; 
     
    5353                        className python:test(solo,'portletFooter', 'portletItem')"  
    5454            tal:condition="repeat/entry/end"  
    55             tal:attributes="class python:test(toggle, className + ' even', className + ' odd')"> 
     55            tal:attributes="class python:test(toggle, className + ' even details', className + ' odd details')"> 
    5656            <a href="#" tal:attributes="href string:${startpoint/absolute_url}"  
    5757                           title="more..."