{{foreach $rows as $row}}
{template="userPhoto" app="core" group="global" params="$row['revision_member_id'], 'mini'"}

{lang="content_revision_button_view"}   {lang="content_revision_button_delete"}

{$row['revision_member_id']->link()|raw}

{$row['revision_date']}

{{$gotDiffs = FALSE;}}
    {{foreach $row['revision_data'] as $key => $diff}}
  • {{if $diff['original'] != $diff['current']}} {{$gotDiffs = TRUE;}}

    {$diff['field']->_title}

    {{if !\in_array( $diff['field']->type, array( 'Editor', 'CodeMirror', 'TextArea' ) )}}

    Revision

    {$diff['field']->displayValue( $diff['original'] )}

    Current

    {$diff['field']->displayValue( $diff['current'] )}
    {{else}}
    {lang="content_record_revision_title_revision"}
    {lang="content_record_revision_title_record"}
    {{endif}} {{endif}}
  • {{endforeach}} {{if ! $gotDiffs}}

    {lang="record_no_revision_data"}

    {{endif}}
{{endforeach}}