Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6122 Rev 6123
Línea 1445... Línea 1445...
1445
        $currentUser = $currentUserPlugin->getUser();
1445
        $currentUser = $currentUserPlugin->getUser();
Línea 1446... Línea 1446...
1446
 
1446
 
1447
        $currentNetworkPlugin = $this->plugin('currentNetworkPlugin');
1447
        $currentNetworkPlugin = $this->plugin('currentNetworkPlugin');
Línea -... Línea 1448...
-
 
1448
        $network = $currentNetworkPlugin->getNetwork();
-
 
1449
 
1448
        $network = $currentNetworkPlugin->getNetwork();
1450
        $currentCompany = $currentUserPlugin->getCompany();
Línea 1449... Línea 1451...
1449
 
1451
 
1450
        //$acl = $this->getEvent()->getViewModel()->getVariable('acl');
1452
        //$acl = $this->getEvent()->getViewModel()->getVariable('acl');
1451
 
1453
 
Línea 1697... Línea 1699...
1697
            array_push($comments, [
1699
            array_push($comments, [
1698
                'unique' => uniqid(),
1700
                'unique' => uniqid(),
1699
                'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1701
                'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1700
                'user_name' => $user->first_name . ' ' . $user->last_name,
1702
                'user_name' => $user->first_name . ' ' . $user->last_name,
1701
                /* Aqui es Anderson */
1703
                /* Aqui es Anderson */
1702
                'imagen' => $network,
1704
                'imagen' => $currentCompany,
1703
                'user_image' => $this->url()->fromRoute('storage', ['type' => 'user',  'code' => $user->uuid, 'filename' =>  'company-image-637f8ba2660d7.png']),
1705
                'user_image' => $this->url()->fromRoute('storage', ['type' => 'user',  'code' => $user->uuid, 'filename' =>  'company-image-637f8ba2660d7.png']),
1704
                //'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>   $company->image]),
1706
                //'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>   $company->image]),
1705
                'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1707
                'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1706
                'comment' => $record->comment,
1708
                'comment' => $record->comment,
1707
                'link_delete' => $link_delete
1709
                'link_delete' => $link_delete