{extends "@layout.xml"} {block title} {_logs} {/block} {block heading} {_logs} {/block} {block content} {var $amount = sizeof($logs)}
ID {_logs_user} {_logs_object} {_logs_type} {_logs_changes} {_logs_time}
{$log->getId()} {$log->getUser()} {$log->getObjectName()} {$log->getObjectName()} {_$log->getTypeNom()} {foreach $log->getChanges() as $change}
{$change["field"]}: {if array_key_exists('diff', $change)} {$change["diff"]|noescape} {else} {$change["old_value"]} {/if}
{/foreach}
{=new openvk\Web\Util\DateTime($change["ts"])}

{var $isLast = ((20 * (($_GET['p'] ?? 1) - 1)) + $amount) < $count} « »
{/block}