Línea 143... |
Línea 143... |
143 |
'last_message' => $timeElapsedString,
|
143 |
'last_message' => $timeElapsedString,
|
144 |
'count_unread' => $unread,
|
144 |
'count_unread' => $unread,
|
145 |
'selected' => 1,
|
145 |
'selected' => 1,
|
146 |
'image' => $storage->getCompanyImage($company),
|
146 |
'image' => $storage->getCompanyImage($company),
|
147 |
'profile' => $this->url()->fromRoute('company/view', ['id' => $company->uuid]),
|
147 |
'profile' => $this->url()->fromRoute('company/view', ['id' => $company->uuid]),
|
148 |
'messages_link' => $this->url()->fromRoute('inmail/messages', ['uuid' => $user->uuid]),
|
148 |
'messages_url' => $this->url()->fromRoute('inmail/messages',['uuid' => $company->uuid]),
|
149 |
'send_link' => $this->url()->fromRoute('inmail/messages/send', ['uuid' => $user->uuid]),
|
149 |
'save_url' => $this->url()->fromRoute('inmail/messages/send',['uuid' => $company->uuid]),
|
150 |
'delete_link' => $this->url()->fromRoute('inmail/messages/delete', ['uuid' => $user->uuid]),
|
150 |
'delete_url' => $this->url()->fromRoute('inmail/messages/delete',['uuid' => $company->uuid])
|
151 |
]);
|
151 |
]);
|
152 |
}
|
152 |
}
|
153 |
} else {
|
153 |
} else {
|
154 |
$user = $userMapper->fetchOneByUuid($uuid);
|
154 |
$user = $userMapper->fetchOneByUuid($uuid);
|
Línea 177... |
Línea 177... |
177 |
'image' => $storage->getUserImage($user),
|
177 |
'image' => $storage->getUserImage($user),
|
178 |
'profile' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
|
178 |
'profile' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
|
179 |
'last_message' => $timeElapsedString,
|
179 |
'last_message' => $timeElapsedString,
|
180 |
'count_unread' => $unread,
|
180 |
'count_unread' => $unread,
|
181 |
'selected' => 1,
|
181 |
'selected' => 1,
|
182 |
'messages_link' => $this->url()->fromRoute('inmail/messages', ['uuid' => $user->uuid]),
|
182 |
'messages_url' => $this->url()->fromRoute('inmail/messages',['uuid' => $user->uuid]),
|
183 |
'send_link' => $this->url()->fromRoute('inmail/messages/send', ['uuid' => $user->uuid]),
|
183 |
'save_url' => $this->url()->fromRoute('inmail/messages/send',['uuid' => $user->uuid]),
|
184 |
'delete_link' => $this->url()->fromRoute('inmail/messages/delete', ['uuid' => $user->uuid]),
|
184 |
'delete_url' => $this->url()->fromRoute('inmail/messages/delete',['uuid' => $user->uuid]),
|
185 |
]);
|
185 |
]);
|
186 |
}
|
186 |
}
|
187 |
}
|
187 |
}
|
188 |
}
|
188 |
}
|
189 |
}
|
189 |
}
|