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