{{foreach $rows as $row}}
  • {template="userPhoto" group="global" app="core" params="\IPS\Member::load( $row->last_reply_by ), 'small'"}

    {{if $row->unread()}}{{endif}} {{if $row->mapped('title')}}{$row->mapped('title')}{{else}}{lang="content_deleted"}{{endif}} #{$row->id}

    • {template="status" group="support" location="admin" params="$row->status"}
    • {lang="in"} {template="department" group="support" location="admin" params="$row->department"}
    • {{if $row->replies == 1}} {{if $row->last_reply_by === \IPS\Member::loggedIn()->member_id}} {lang="support_you_created" sprintf="\IPS\DateTime::ts( $row->last_reply )->relative()"} {{else}} {lang="support_x_created" sprintf="\IPS\Member::load( $row->last_reply_by )->name, \IPS\DateTime::ts( $row->last_reply )->relative()"} {{endif}} {{else}} {{if $row->last_reply_by === \IPS\Member::loggedIn()->member_id}} {lang="support_you_replied" sprintf="\IPS\DateTime::ts( $row->last_reply )->relative()"} {{else}} {lang="support_x_replied" sprintf="\IPS\Member::load( $row->last_reply_by )->name, \IPS\DateTime::ts( $row->last_reply )->relative()"} {{endif}} {{endif}}
    {$row->truncated()|raw}
    {{if $row->purchase}} {{endif}}
    {$row->replies}
  • {{endforeach}}