[`Comment deleted`]
[`Comment to an unpublished post (not visible anymore)`]
{$comment.text|escape|nl2br}
[`on`] {if $comment.post.blog_status == blogBlogModel::STATUS_PRIVATE} {/if} {if $comment.post.status eq blogPostModel::STATUS_PUBLISHED} {$comment.post.title|escape} {else} [`unpublished post`] {/if}
[`in reply to`] {if $comment.parent_status == blogCommentModel::STATUS_DELETED} [`Comment deleted`] {else} {$comment.parent_text|escape} {/if} {/if} {/if}
[`There are no comments in your blog yet.`]
{else}[`Latest comments`]
{foreach $comments as $comment}[`Comment deleted`]
{elseif isset($comment.post) && (!$comment.post || $comment.post.status neq blogPostModel::STATUS_PUBLISHED)}[`Comment to an unpublished post (not visible anymore)`]
{else} {* COMMENT TEXT *}{$comment.text|escape|nl2br}
{* post link *} {if isset($comment.post) && $comment.post}[`on`] {if $comment.post.blog_status == blogBlogModel::STATUS_PRIVATE} {/if} {if $comment.post.status eq blogPostModel::STATUS_PUBLISHED} {$comment.post.title|escape} {else} [`unpublished post`] {/if}
{/if} {* in reply to *} {if $comment.parent && isset($comment.parent_text)}[`in reply to`] {if $comment.parent_status == blogCommentModel::STATUS_DELETED}
[`Comment deleted`]{else} {$comment.parent_text|escape} {/if} {/if} {/if}