Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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