Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7125 Rev 7126
Línea 1838... Línea 1838...
1838
                    if($feed->company_id) {
1838
                    if($feed->company_id) {
1839
                        $company = $companyMapper->fetchOne($feed->company_id);
1839
                        $company = $companyMapper->fetchOne($feed->company_id);
Línea 1840... Línea 1840...
1840
                        
1840
                        
1841
                        array_push($comments, [
1841
                        array_push($comments, [
1842
                            'unique' => uniqid(),
1842
                            'unique' => uniqid(),
1843
                            'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1843
                            'user_url' => $this->url()->fromRoute('company/view', ['id' => $company->uuid]),
1844
                            'user_name' => $user->first_name . ' ' . $user->last_name,
1844
                            'user_name' => $company->name,
1845
                            'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>  $company->image]),
1845
                            'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>  $company->image]),
1846
                            'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1846
                            'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1847
                            'comment' => $record->comment,
1847
                            'comment' => $record->comment,
1848
                            //'link_delete' => $link_delete
1848
                            //'link_delete' => $link_delete
1849
                        ]);
1849
                        ]);
1850
                        $link_delete = '';
1850
                        $link_delete = '';
Línea 1851... Línea 1851...
1851
                    } else {
1851
                    } else if($feed->group_id) {
Línea 1852... Línea 1852...
1852
                        
1852