{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|formatDate:'medium'} {$comment->updated_at|formatDate:'medium'} {$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}