{style} {literal} .cf_project { width: 170px; margin-right: 8px; float: left; padding: 7px; border-width: 1px; border-radius: 6px 6px 6px 6px; height: 299px; } .cf_project:nth-child(3n) { margin-right: 0px; } .project_thumb img { width: 170px; border-width: 1px; } .project_name { margin-bottom: 7px; margin-top: 7px; height: 50px; overflow: hidden; } .project_desc { height: 58px; overflow: hidden; } .pledged_wrap { background: none repeat scroll 0 0 #D0D5CB; border-radius: 4px 4px 4px 4px; height: 8px; margin-top: 5px; width: 100%; } .pledged { background: none repeat scroll 0 0 #76CC1E; border-radius: 4px 4px 4px 4px; height: 8px; } {/literal} {/style} {$menu}
{if $list}
{foreach from=$list item='item'}
{$item.dto->name}
{text key='base+by'}: {$item.name} {if $item.dto->categoryId}{text key='ocsfundraising+in'} {text key="ocsfundraising+category_`$item.dto->categoryId`"}{/if}
{$item.dto->description}
{text key='ocsfundraising+funded'}: {$item.percent}% {if $item.days}
{text key='ocsfundraising+days_to_go'}: {$item.days}{/if}
{/foreach}
{$paging} {else}
{/if}
{$categories} {if $canAdd}
{decorator name='button' langLabel='ocsfundraising+btn_add_project' id='btn-add-project' class='ow_ic_add'}
{/if}