Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="folder-listing" tal:condition="folderContents" >
- <tal:block tal:repeat="item folderContents">
- <div class="tileItem visualIEFloatFix vevent"
- tal:define="item_url item/getURL|item/absolute_url;
- item_id item/getId|item/id;
- item_title_or_id item/pretty_title_or_id;
- item_description item/Description;
- item_type item/portal_type;
- item_type_title item/Type;
- item_type_class python: 'contenttype-' + normalizeString(item_type);
- item_modified item/ModificationDate;
- item_created item/CreationDate;
- item_date item/Date;
- item_wf_state item/review_state|python: wtool.getInfoFor(item, 'review_state', '');
- item_wf_state_class python:'state-' + normalizeString(item_wf_state);
- item_creator item/Creator;
- item_start item/start/ISO|item/StartDate|nothing;
- item_end item/end/ISO|item/EndDate|nothing;
- item_object item/getObject;
- "
- tal:attributes="class string:tileItem visualIEFloatFix vevent ${item_type_class}">
- <h5 tal:content="item/portal_type" />
- <tal:image
- tal:condition="python:item.meta_type in ('Article', 'Blog Entry')">
- <img tal:condition="item_object/getImage"
- tal:replace="structure python:obj.tag(scale='thumb', css_class='image-left')"
- />
- </tal:image>
- <a class="blog-title"
- tal:attributes="href item_object/absolute_url"
- tal:content="item_object/Title">[Program Title]</a><br />
- <span tal:content="item_description">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span><br />
- <span class="blogdate">Posted
- <span tal:replace="python:toLocalizedTime(item_date)">
- August 16, 2001
- </span>
- </span>
- </div>
- </tal:block>
- </div>
- </tal:foldercontents>
- </metal:listingmacro>
- </div>
Add Comment
Please, Sign In to add comment