| Línea 235... |
Línea 235... |
| 235 |
foreach ($records as $record) {
|
235 |
foreach ($records as $record) {
|
| 236 |
$userBlocked = $userBlockedMapper->fetchOneByUserIdAndBlockedId($record['user_id'], $currentUser->id);
|
236 |
$userBlocked = $userBlockedMapper->fetchOneByUserIdAndBlockedId($record['user_id'], $currentUser->id);
|
| Línea 237... |
Línea 237... |
| 237 |
|
237 |
|
| 238 |
array_push($members, [
|
238 |
array_push($members, [
|
| 239 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
239 |
'name' => trim($record['first_name'] . ' ' . $record['last_name']),
|
| 240 |
'image' => $this->url()->fromRoute('storage', ['code' => $record['user_uuid'], 'type' => 'user', 'filename' => $record['image']]),
|
240 |
'image' => $this->url()->fromRoute('storage', ['code' => $record['user_uuid'], 'type' => 'user', 'filename' => $record['image']],['force_canonical' => true]),
|
| Línea 241... |
Línea 241... |
| 241 |
'link_profile' => $userBlocked ? '' : $this->url()->fromRoute('profile/view', ['id' => $record['user_profile_uuid']])
|
241 |
'link_profile' => $userBlocked ? '' : $this->url()->fromRoute('profile/view', ['id' => $record['user_profile_uuid']])
|
| 242 |
|
242 |
|
| Línea 910... |
Línea 910... |
| 910 |
foreach ($records as $record) {
|
910 |
foreach ($records as $record) {
|
| Línea 911... |
Línea 911... |
| 911 |
|
911 |
|
| 912 |
$item = [
|
912 |
$item = [
|
| 913 |
'name' => $record['name'],
|
913 |
'name' => $record['name'],
|
| 914 |
'privacy' => $values[$record['privacy']],
|
914 |
'privacy' => $values[$record['privacy']],
|
| 915 |
'image' => $this->url()->fromRoute('storage', ['type' => 'group', 'code' => $record['uuid'], 'filename' => $record['image']]),
|
915 |
'image' => $this->url()->fromRoute('storage', ['type' => 'group', 'code' => $record['uuid'], 'filename' => $record['image']],['force_canonical' => true]),
|
| 916 |
'link_view' => $this->url()->fromRoute('group/view', ['id' => $record['uuid']]),
|
916 |
'link_view' => $this->url()->fromRoute('group/view', ['id' => $record['uuid']]),
|
| 917 |
'link_leave' => $this->url()->fromRoute('group/leave', ['id' => $record['uuid']]),
|
917 |
'link_leave' => $this->url()->fromRoute('group/leave', ['id' => $record['uuid']]),
|
| Línea 918... |
Línea 918... |
| 918 |
];
|
918 |
];
|
| Línea 970... |
Línea 970... |
| 970 |
|
970 |
|
| 971 |
$items = [];
|
971 |
$items = [];
|
| 972 |
foreach ($records as $record) {
|
972 |
foreach ($records as $record) {
|
| 973 |
$item = [
|
973 |
$item = [
|
| 974 |
'name' => $record['name'],
|
974 |
'name' => $record['name'],
|
| 975 |
'image' => $this->url()->fromRoute('storage', ['type' => 'group', 'code' => $record['uuid'], 'filename' => $record['image']]),
|
975 |
'image' => $this->url()->fromRoute('storage', ['type' => 'group', 'code' => $record['uuid'], 'filename' => $record['image']],['force_canonical' => true]),
|
| 976 |
'link_view' => $this->url()->fromRoute('group/view', ['id' => $record['uuid']]),
|
976 |
'link_view' => $this->url()->fromRoute('group/view', ['id' => $record['uuid']]),
|
| 977 |
'link_accept' => $this->url()->fromRoute('group/accept', ['id' => $record['uuid']]),
|
977 |
'link_accept' => $this->url()->fromRoute('group/accept', ['id' => $record['uuid']]),
|
| 978 |
'link_reject' => $this->url()->fromRoute('group/reject', ['id' => $record['uuid']]),
|
978 |
'link_reject' => $this->url()->fromRoute('group/reject', ['id' => $record['uuid']]),
|
| Línea 1033... |
Línea 1033... |
| 1033 |
|
1033 |
|
| 1034 |
$items = [];
|
1034 |
$items = [];
|
| 1035 |
foreach ($records as $record) {
|
1035 |
foreach ($records as $record) {
|
| 1036 |
$item = [
|
1036 |
$item = [
|
| 1037 |
'name' => $record['name'],
|
1037 |
'name' => $record['name'],
|
| 1038 |
'image' => $this->url()->fromRoute('storage', ['type' => 'group', 'code' => $record['uuid'], 'filename' => $record['image']]),
|
1038 |
'image' => $this->url()->fromRoute('storage', ['type' => 'group', 'code' => $record['uuid'], 'filename' => $record['image']],['force_canonical' => true]),
|
| 1039 |
'link_view' => $this->url()->fromRoute('group/view', ['id' => $record['uuid']]),
|
1039 |
'link_view' => $this->url()->fromRoute('group/view', ['id' => $record['uuid']]),
|
| 1040 |
'link_cancel' => $this->url()->fromRoute('group/cancel', ['id' => $record['uuid']]),
|
1040 |
'link_cancel' => $this->url()->fromRoute('group/cancel', ['id' => $record['uuid']]),
|