|
user) : ?>
= $this->linkTo($this->h($rec->user->pretty_name()), ['controller' => "user", 'action' => "show", 'id' => $rec->user_id]) ?>
= $this->linkTo($this->h($rec->user->pretty_name()), ['action' => "index", 'user_id' => $rec->user_id]) ?>
|
= $this->h($rec->reporter->pretty_name()) ?> |
= $this->t(['time.x_ago', 't' => $this->timeAgoInWords($rec->created_at)]) ?> |
= $this->format_text($rec->body) ?> |
is_mod_or_higher() || current_user()->id == $rec->reported_by) : ?>
= $this->linkToFunction($this->t('record_delete'), "UserRecord.destroy({$rec->id})") ?>
|