{{if !empty( $rows )}} {{foreach $rows as $edit}}
{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $edit['member'] ), 'mini'"}

{expression="\IPS\Member::load( $edit['member'] )->link()" raw="true"}

{datetime="$edit['time']"} {{if $edit['reason']}}
{$edit['reason']} {{endif}}

{$edit['new']|raw}
{{endforeach}} {{if $table->page == $table->pages AND $table->extra instanceof \IPS\Content}}
{template="userPhoto" app="core" group="global" params="$table->extra->author(), 'mini'"}

{$table->extra->author()->link( NULL, NULL, $table->extra->isAnonymous() )|raw}

{datetime="$table->extra->mapped('date')"}

{$edit['old']|raw}
{{endif}} {{else}}

{lang="no_edit_history"}

{{endif}}