{style}{literal} .ow_ipc .ow_ipc_info .clearfix .ow_ipc_toolbar{ white-space: normal; } {/literal}{/style} {if !empty($list)} {foreach from=$list item='post'} {*-- decorator data*} {assign var="dto" value=$post.dto} {assign var=userId value=$dto->getAuthorId()} {capture assign='info_string'} {$post.dto->getTitle()|strip_tags} {/capture} {capture assign="moreLink"}{text key='blogs+more'}{/capture} {capture assign='content'} {if $commentInfo[$dto->id] > 0}
{$commentInfo[$dto->id]} {text key='blogs+toolbar_comments'}
{/if}
{if $post.truncated}{$post.text|strip_tags}... {$moreLink}{else}{$post.text|strip_tags}{/if}
{/capture} {decorator name='ipc' addClass='ow_smallmargin' infoString=$info_string content=$content avatar=$avatars[$userId] toolbar=$tbars[$dto->id]} {/foreach} {else}
{capture assign ='addnewurl'}{url_for_route for='post-save-new'}{/capture} {text key="blogs+index_widget_empty"} {text key='blogs+add_new'}
{/if}