Línea 1209... |
Línea 1209... |
1209 |
$item['unique'] = uniqid();
|
1209 |
$item['unique'] = uniqid();
|
1210 |
$item['user_image'] = $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]);
|
1210 |
$item['user_image'] = $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]);
|
1211 |
$item['user_url'] = $this->url()->fromRoute('profile/view', ['id' => $user->uuid]);
|
1211 |
$item['user_url'] = $this->url()->fromRoute('profile/view', ['id' => $user->uuid]);
|
1212 |
$item['user_name'] = $user->first_name . ' ' . $user->last_name;
|
1212 |
$item['user_name'] = $user->first_name . ' ' . $user->last_name;
|
1213 |
$item['time_elapsed'] = Functions::timeAgo($record->added_on, $now);
|
1213 |
$item['time_elapsed'] = Functions::timeAgo($record->added_on, $now);
|
1214 |
//$item['comment'] = $record->comment;
|
1214 |
$item['comment'] = $record->comment;
|
1215 |
$item['link_delete'] = $this->url()->fromRoute('knowledge-area/comments/delete', ['id' => $knowledgeAreaContent->uuid, 'comment' => $record->uuid]);
|
1215 |
$item['link_delete'] = $this->url()->fromRoute('knowledge-area/comments/delete', ['id' => $knowledgeAreaContent->uuid, 'comment' => $record->uuid]);
|
1216 |
}
|
1216 |
}
|
1217 |
return $item;
|
1217 |
return $item;
|
1218 |
}
|
1218 |
}
|
1219 |
}
|
1219 |
}
|