{add_content key='blogs.add_content.list.top' listType=$listType}
{style}{literal} .ow_wrap_normal{ white-space: normal; } {/literal}{/style} {if $addNew_isAuthorized} {if $addNew_promoted}
{decorator name='button' class='ow_ic_add' id='btn-add-new-post' langLabel='blogs+add_new'}
{else}
{decorator name='button' class='ow_ic_add' id='btn-add-new-post' langLabel='blogs+add_new' onclick="location.href='`$url_new_post`'"}
{/if} {/if} {$menu}
{if $isBrowseByTagCase} {if $tag}
{text key="blogs+results_by_tag" tag=$tag}
{else} {$tagCloud} {/if} {/if} {if $showList} {foreach from=$list item='post'} {assign var=dto value=$post.dto} {*-- decorator data*} {assign var=userId value=$dto->getAuthorId()} {capture assign='info_string'} {$dto->getTitle()} {/capture} {capture assign='content'} {$post.text}{if $post.showMore}... {/if} {/capture} {assign var='id' value=$dto->getId()} {*~~ decorator data*} {decorator name='ipc' infoString=$info_string addClass="ow_stdmargin ow_blog_item" content=$content toolbar=$toolbars[$id] avatar=$avatars[$userId]} {foreachelse} {text key='base+empty_list'} {/foreach} {if $paging}
{$paging}
{/if} {/if}
{$tagSearch}
{if $list|@count > 0}
{$tagCloud}
{/if} {if isset($my_published_posts_url)}
{decorator name="button" langLabel="blogs+my_drafts" class="ow_ic_draft" onclick="location.href='$my_published_posts_url'"}
{/if}