{extends "@layout.xml"} {block title} Логи {/block} {block heading} Логи {/block} {block content} {var $amount = sizeof($logs)}
ID | Пользователь | Объект | Тип | Изменения | Время |
---|---|---|---|---|---|
{$log->getId()} | {$log->getUser()} | {$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"])} |