Línea 1872... |
Línea 1872... |
1872 |
'user_name' => $user->first_name . ' ' . $user->last_name,
|
1872 |
'user_name' => $user->first_name . ' ' . $user->last_name,
|
1873 |
'company' => $owner,
|
1873 |
'company' => $owner,
|
1874 |
'user_image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image],['force_canonical' => true]),
|
1874 |
'user_image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image],['force_canonical' => true]),
|
1875 |
'time_elapsed' => Functions::timeAgo($record->added_on, $now),
|
1875 |
'time_elapsed' => Functions::timeAgo($record->added_on, $now),
|
1876 |
'comment' => $record->comment,
|
1876 |
'comment' => $record->comment,
|
1877 |
'link_abuse_report' => $user->id == $currentUser ? '' : $this->url()->fromRoute('helpers/abuse-report', ['type' => 'comment', 'id' => $record->uuid], ['force_canonical' => true]),
|
1877 |
'link_abuse_report' => $user->id == $currentUser->id ? '' : $this->url()->fromRoute('helpers/abuse-report', ['type' => 'comment', 'id' => $record->uuid], ['force_canonical' => true]),
|
1878 |
'link_delete' => $link_delete
|
1878 |
'link_delete' => $link_delete
|
1879 |
]);
|
1879 |
]);
|
1880 |
}
|
1880 |
}
|
Línea 1881... |
Línea 1881... |
1881 |
|
1881 |
|