Proyectos de Subversion LeadersLinked - Services

Rev

Rev 681 | Rev 683 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 681 Rev 682
Línea 203... Línea 203...
203
                            'filename' => $company->image
203
                            'filename' => $company->image
204
                        ], ['force_canonical' => true]),
204
                        ], ['force_canonical' => true]),
205
                        'profile' => $this->url()->fromRoute('company/view', ['id' => $company->uuid]),
205
                        'profile' => $this->url()->fromRoute('company/view', ['id' => $company->uuid]),
206
                        'last_message' => $timeElapsedString,
206
                        'last_message' => $timeElapsedString,
207
                        'count_unread' => $unread,
207
                        'count_unread' => $unread,
208
                        'messages_link' => $this->url()->fromRoute('inmail/messages', ['id' => $company->uuid]),
-
 
209
                        'send_link' => $this->url()->fromRoute('inmail/messages/send', ['id' => $company->uuid]),
-
 
210
                        'selected' => 1, // Marcar como seleccionado
208
                        'selected' => 1, // Marcar como seleccionado
211
                        'delete_link' => $this->url()->fromRoute('inmail/messages/delete', ['id' => $company->uuid]),
-
 
212
                    ]);
209
                    ]);
213
                }
210
                }
214
            } 
211
            } 
215
            else {
212
            else {
216
                $user = $userMapper->fetchOneByUuid($id);
213
                $user = $userMapper->fetchOneByUuid($id);
Línea 252... Línea 249...
252
                                'filename' => $user->image
249
                                'filename' => $user->image
253
                            ], ['force_canonical' => true]),
250
                            ], ['force_canonical' => true]),
254
                            'profile' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
251
                            'profile' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
255
                            'last_message' => $timeElapsedString,
252
                            'last_message' => $timeElapsedString,
256
                            'count_unread' => $unread,
253
                            'count_unread' => $unread,
257
                            'messages_link' => $this->url()->fromRoute('inmail/messages', ['id' => $user->uuid]),
-
 
258
                            'send_link' => $this->url()->fromRoute('inmail/messages/send', ['id' => $user->uuid]),
-
 
259
                            'selected' => 1, // Marcar como seleccionado
254
                            'selected' => 1, // Marcar como seleccionado
260
                            'delete_link' => $this->url()->fromRoute('inmail/messages/delete', ['id' => $user->uuid]),
-
 
261
                        ]);
255
                        ]);
262
                    }
256
                    }
263
                }
257
                }
264
            }
258
            }
265
        }
259
        }
Línea 310... Línea 304...
310
                    'filename' => $user->image
304
                    'filename' => $user->image
311
                ], ['force_canonical' => true]),
305
                ], ['force_canonical' => true]),
312
                'profile' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
306
                'profile' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
313
                'last_message' => $timeElapsedString,
307
                'last_message' => $timeElapsedString,
314
                'count_unread' => $unread,
308
                'count_unread' => $unread,
315
                'messages_link' => $this->url()->fromRoute('inmail/messages', ['id' => $user->uuid]),
-
 
316
                'send_link' => $this->url()->fromRoute('inmail/messages/send', ['id' => $user->uuid]),
-
 
317
                'selected' => 0, // No seleccionado
309
                'selected' => 0, // No seleccionado
318
                'delete_link' => $this->url()->fromRoute('inmail/messages/delete', ['id' => $user->uuid]),
-
 
319
            ]);
310
            ]);
320
        }
311
        }
Línea 321... Línea 312...
321
 
312
 
322
        // Ordenar por: seleccionados primero, luego por fecha del último mensaje
313
        // Ordenar por: seleccionados primero, luego por fecha del último mensaje