Línea 340... |
Línea 340... |
340 |
'common_connection' => $common_connection,
|
340 |
'common_connection' => $common_connection,
|
341 |
'views' => $views,
|
341 |
'views' => $views,
|
342 |
'show_contact' => $user->id != $currentUser->id,
|
342 |
'show_contact' => $user->id != $currentUser->id,
|
343 |
'request_connection' => $request_connection,
|
343 |
'request_connection' => $request_connection,
|
344 |
'link_cancel' => $connection && $connection->status == Connection::STATUS_SENT ? $this->url()->fromRoute('connection/delete',['id' => $user->uuid ]) : $this->url()->fromRoute('connection/cancel',['id' => $user->uuid]),
|
344 |
'link_cancel' => $connection && $connection->status == Connection::STATUS_SENT ? $this->url()->fromRoute('connection/delete',['id' => $user->uuid ]) : $this->url()->fromRoute('connection/cancel',['id' => $user->uuid]),
|
345 |
'link_request' => $this->url()->fromRoute('connection/request',['id' => $user->uuid ]),
|
345 |
'link_request' => $request_connection ? $this->url()->fromRoute('connection/request',['id' => $user->uuid ]) : '',
|
346 |
'link_inmail' => $this->url()->fromRoute('inmail',['id' => $user->uuid ]),
|
346 |
'link_inmail' => $this->url()->fromRoute('inmail',['id' => $user->uuid ]),
|
Línea 347... |
Línea 347... |
347 |
|
347 |
|
Línea 348... |
Línea 348... |
348 |
];
|
348 |
];
|
Línea 376... |
Línea 376... |
376 |
'user_educations' => $userEducations,
|
376 |
'user_educations' => $userEducations,
|
377 |
'user_experiences' => $userExperiences,
|
377 |
'user_experiences' => $userExperiences,
|
378 |
'show_contact' => $user->id != $currentUser->id,
|
378 |
'show_contact' => $user->id != $currentUser->id,
|
379 |
'request_connection' => $request_connection,
|
379 |
'request_connection' => $request_connection,
|
380 |
'link_cancel' => $connection && $connection->status == Connection::STATUS_SENT ? $this->url()->fromRoute('connection/delete',['id' => $user->uuid ]) : $this->url()->fromRoute('connection/cancel',['id' => $user->uuid]),
|
380 |
'link_cancel' => $connection && $connection->status == Connection::STATUS_SENT ? $this->url()->fromRoute('connection/delete',['id' => $user->uuid ]) : $this->url()->fromRoute('connection/cancel',['id' => $user->uuid]),
|
381 |
'link_request' => $this->url()->fromRoute('connection/request',['id' => $user->uuid ]),
|
381 |
'link_request' => $request_connection ? $this->url()->fromRoute('connection/request',['id' => $user->uuid ]) : '',
|
382 |
'link_inmail' => $this->url()->fromRoute('inmail',['id' => $user->uuid ]),
|
382 |
'link_inmail' => $this->url()->fromRoute('inmail',['id' => $user->uuid ]),
|
Línea 383... |
Línea 383... |
383 |
|
383 |
|
384 |
]);
|
384 |
]);
|
385 |
return $viewModel ;
|
385 |
return $viewModel ;
|