{layout @admin.html} {var $commentClass = \plugins\blog\models\Comment::class} {block content}

{_}blog.comments{/_}

{if $comments} {var $statuses = ['blog.pending', 'blog.approved', 'blog.spam']} {foreach $comments as $comment} {var $confirm = ('blog.confirm_delete_comment'|translate)} {/foreach}
{_}name{/_} {_}blog.comment{/_} {_}created_at{/_} {_}updated_at{/_} {_}email{/_} {_}status{/_}
{$comment->name} {$comment->body|truncate:200|noescape} {$comment->created_at|date:$mediumDate} {$comment->updated_at|date:$mediumDate} {$comment->email} {_$statuses[$comment->status]} {_}update{/_}{_}blog.remove_comment{/_}
{include pagination/ink.html, url: BASE_URL . 'blog/comment/list?page=%d'} {else}

{_}no_result_found{/_}

{/if}
{/block}