Línea 170... |
Línea 170... |
170 |
|
170 |
|
171 |
|
171 |
|
172 |
|
172 |
|
173 |
$item = [
|
173 |
$item = [
|
174 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
174 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
Línea 175... |
Línea 175... |
175 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ]),
|
175 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ],['force_canonical' => true]),
|
Línea 258... |
Línea 258... |
258 |
$items = [];
|
258 |
$items = [];
|
259 |
foreach($records as $record)
|
259 |
foreach($records as $record)
|
260 |
{
|
260 |
{
|
261 |
$item = [
|
261 |
$item = [
|
262 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
262 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
263 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ]),
|
263 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ],['force_canonical' => true]),
|
264 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
264 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
265 |
'link_delete' => $this->url()->fromRoute('connection/delete', ['id' => $record['uuid'] ]),
|
265 |
'link_delete' => $this->url()->fromRoute('connection/delete', ['id' => $record['uuid'] ]),
|
266 |
];
|
266 |
];
|
Línea 267... |
Línea 267... |
267 |
|
267 |
|
Línea 319... |
Línea 319... |
319 |
$items = [];
|
319 |
$items = [];
|
320 |
foreach($records as $record)
|
320 |
foreach($records as $record)
|
321 |
{
|
321 |
{
|
322 |
$item = [
|
322 |
$item = [
|
323 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
323 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
324 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ]),
|
324 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ],['force_canonical' => true]),
|
325 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
325 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
326 |
'link_approve' => $this->url()->fromRoute('connection/approve', ['id' => $record['uuid'] ]),
|
326 |
'link_approve' => $this->url()->fromRoute('connection/approve', ['id' => $record['uuid'] ]),
|
327 |
'link_reject' => $this->url()->fromRoute('connection/reject', ['id' => $record['uuid'] ]),
|
327 |
'link_reject' => $this->url()->fromRoute('connection/reject', ['id' => $record['uuid'] ]),
|
Línea 328... |
Línea 328... |
328 |
|
328 |
|
Línea 962... |
Línea 962... |
962 |
$userBlocked = $userBlockedMapper->fetchOneByUserIdAndBlockedId($record['id'], $currentUser->id);
|
962 |
$userBlocked = $userBlockedMapper->fetchOneByUserIdAndBlockedId($record['id'], $currentUser->id);
|
963 |
$link_view = $userBlocked ? '' : $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]);
|
963 |
$link_view = $userBlocked ? '' : $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]);
|
Línea 964... |
Línea 964... |
964 |
|
964 |
|
965 |
$item = [
|
965 |
$item = [
|
966 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
966 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
967 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ]),
|
967 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ],['force_canonical' => true]),
|
968 |
'link_view' => $link_view,
|
968 |
'link_view' => $link_view,
|
969 |
'link_unblock' => $this->url()->fromRoute('connection/unblock', ['id' => $record['uuid'] ]),
|
969 |
'link_unblock' => $this->url()->fromRoute('connection/unblock', ['id' => $record['uuid'] ]),
|
Línea 970... |
Línea 970... |
970 |
];
|
970 |
];
|
Línea 1175... |
Línea 1175... |
1175 |
array_push($relation, 'LABEL_RELATION_TYPE_CAPSULE_USER');
|
1175 |
array_push($relation, 'LABEL_RELATION_TYPE_CAPSULE_USER');
|
1176 |
}
|
1176 |
}
|
Línea 1177... |
Línea 1177... |
1177 |
|
1177 |
|
1178 |
$item = [
|
1178 |
$item = [
|
1179 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
1179 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
1180 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ]),
|
1180 |
'image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $record['uuid'], 'filename' => $record['image'] ],['force_canonical' => true]),
|
1181 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
1181 |
'link_view' => $this->url()->fromRoute('profile/view', ['id' => $record['uuid'] ]),
|
1182 |
'link_inmail' => $this->url()->fromRoute('inmail', ['id' => $record['uuid'] ]),
|
1182 |
'link_inmail' => $this->url()->fromRoute('inmail', ['id' => $record['uuid'] ]),
|
1183 |
'relation' => $relation,
|
1183 |
'relation' => $relation,
|
1184 |
'link_cancel' => '',
|
1184 |
'link_cancel' => '',
|