Línea 1214... |
Línea 1214... |
1214 |
if ($user->id == $owner->user_id) {
|
1214 |
if ($user->id == $owner->user_id) {
|
1215 |
$comment['user_image'] = $storage->getCompanyImage($company);
|
1215 |
$comment['user_image'] = $storage->getCompanyImage($company);
|
1216 |
$comment['user_url'] = 'https://' . $network->main_hostname . '/company/view/' . $company->uuid;
|
1216 |
$comment['user_url'] = 'https://' . $network->main_hostname . '/company/view/' . $company->uuid;
|
1217 |
$comment['user_name'] = $company->name;
|
1217 |
$comment['user_name'] = $company->name;
|
1218 |
} else {
|
1218 |
} else {
|
1219 |
$comment['user_image'] = $storage->getUserImage($user->uuid);
|
1219 |
$comment['user_image'] = $storage->getUserImage($user);
|
1220 |
$comment['user_url'] = 'https://' . $network->main_hostname . '/profile/view/' . $user->uuid;
|
1220 |
$comment['user_url'] = 'https://' . $network->main_hostname . '/profile/view/' . $user->uuid;
|
1221 |
$comment['user_name'] = $user->first_name . ' ' . $user->last_name;
|
1221 |
$comment['user_name'] = $user->first_name . ' ' . $user->last_name;
|
1222 |
}
|
1222 |
}
|
1223 |
$comment['link_delete'] = $this->url()->fromRoute('feeds/comments/delete', ['id' => $feed->uuid, 'comment' => $record->uuid]);
|
1223 |
$comment['link_delete'] = $this->url()->fromRoute('feeds/comments/delete', ['id' => $feed->uuid, 'comment' => $record->uuid]);
|
1224 |
$comment['link_answer_add'] = $this->url()->fromRoute('feeds/comments/answer', ['id' => $feed->uuid, 'comment' => $record->uuid]);
|
1224 |
$comment['link_answer_add'] = $this->url()->fromRoute('feeds/comments/answer', ['id' => $feed->uuid, 'comment' => $record->uuid]);
|