{if $threads}

{i18n}Existing threads{/i18n}

{foreach from=$threads item=thread} {$threadrenderer->render($context, $thread)} {/foreach}
{i18n}Subject{/i18n} {i18n}Creator{/i18n} {i18n}Views{/i18n} {i18n}Replies{/i18n} {i18n}Last activity{/i18n}
{else}

{i18n}There are no existing threads for this document{/i18n}

{/if}
{i18n}Create a new thread{/i18n} {foreach from=$fields item=oWidget} {$oWidget->render()} {/foreach}