| Línea 1233... |
Línea 1233... |
| 1233 |
} else {
|
1233 |
} else {
|
| 1234 |
$comment['user_image'] = $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image ]);
|
1234 |
$comment['user_image'] = $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image ]);
|
| 1235 |
$comment['user_url'] = str_replace('[uuid]', $user->uuid, $user_profile_url);
|
1235 |
$comment['user_url'] = str_replace('[uuid]', $user->uuid, $user_profile_url);
|
| 1236 |
$comment['user_name'] = $user->first_name . ' ' . $user->last_name;
|
1236 |
$comment['user_name'] = $user->first_name . ' ' . $user->last_name;
|
| 1237 |
}
|
1237 |
}
|
| - |
|
1238 |
if($feed->type == Feed::TYPE_HPTG)
|
| - |
|
1239 |
{
|
| - |
|
1240 |
if($feed->user_id == $currentUser->id||$highPerformanceTeamsGroupsMember->type!=HighPerformanceTeamsGroupsMembers::TYPE_USER) {
|
| - |
|
1241 |
$comment['link_delete'] = $this->url()->fromRoute('feeds/comments/delete',['id' => $feed->uuid, 'comment' => $record->uuid ]);
|
| - |
|
1242 |
}else{
|
| - |
|
1243 |
$item['link_delete'] = '';
|
| - |
|
1244 |
}
|
| - |
|
1245 |
}else{
|
| - |
|
1246 |
$comment['link_delete'] = $this->url()->fromRoute('feeds/comments/delete',['id' => $feed->uuid, 'comment' => $record->uuid ]);
|
| - |
|
1247 |
}
|
| Línea 1238... |
Línea -... |
| 1238 |
|
- |
|
| 1239 |
$comment['link_delete'] = $this->url()->fromRoute('feeds/comments/delete',['id' => $feed->uuid, 'comment' => $record->uuid ]);
|
1248 |
|
| 1240 |
$comment['link_answer_add'] = $this->url()->fromRoute('feeds/comments/answer',['id' => $feed->uuid, 'comment' => $record->uuid ]);
|
1249 |
$comment['link_answer_add'] = $this->url()->fromRoute('feeds/comments/answer',['id' => $feed->uuid, 'comment' => $record->uuid ]);
|
| 1241 |
$comment['time_elapsed'] = Functions::timeElapsedString($dt->getTimestamp());
|
1250 |
$comment['time_elapsed'] = Functions::timeElapsedString($dt->getTimestamp());
|
| Línea 1242... |
Línea 1251... |
| 1242 |
$comment['comment'] = $record->comment;
|
1251 |
$comment['comment'] = $record->comment;
|