Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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