Rev 8767 | Rev 14592 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?phpuse LeadersLinked\Model\UserExperience;$acl = $this->viewModel()->getRoot()->getVariable('acl');$currentUserHelper = $this->currentUserHelper();$currentUser = $currentUserHelper->getUser();$currentCompany = $currentUserHelper->getCompany();$companyId = $currentCompany->uuid;$roleName = $currentUserHelper->getUserTypeId();$routeWebsite = $this->url('profile/website', ['id' => $currentCompany->uuid]);$routeCompanySize = $this->url('profile/company-size', ['id' => $currentCompany->uuid]);$routeIndustry = $this->url('profile/industry', ['id' => $currentCompany->uuid]);$routeExtended = $this->url('profile/extended', ['id' => $currentCompany->uuid]);$routeSocialNetworks = $this->url('profile/social-network', ['id' => $currentCompany->uuid]);$routeLocationAdd = $this->url('profile/location', ['id' => $currentCompany->uuid, 'operation' => 'add']);$routeFoundationYear = $this->url('profile/foundation_year', ['id' => $currentCompany->uuid, 'operation' => 'add']);$routeImageUpload = $this->url('profile/image', ['id' => $currentCompany->uuid, 'operation' => 'upload']);$routeCoverUpload = $this->url('profile/cover', ['id' => $currentCompany->uuid, 'operation' => 'upload']);$routeFooterUpload = $this->url('profile/footer', ['id' => $currentCompany->uuid, 'operation' => 'upload']);$routeHeaderUpload = $this->url('profile/header', ['id' => $currentCompany->uuid, 'operation' => 'upload']);$jsonLocations = json_encode($locations);$js = <<<JSconst urlVars = {routeWebsite: "$routeWebsite",routeCompanySize: "$routeCompanySize",routeIndustry: "$routeIndustry",routeExtended: "$routeExtended",routeSocialNetworks: "$routeSocialNetworks",routeLocationAdd: "$routeLocationAdd",routeFoundationYear: "$routeFoundationYear",routeImageUpload: "$routeImageUpload",routeCoverUpload: "$routeCoverUpload",routeFooterUpload: "$routeFooterUpload",routeHeaderUpload: "$routeHeaderUpload",cover: "$cover",companyId: "$companyId",followers: "$follower",image: "$image",overview: "$overview",locations: JSON.parse('$jsonLocations'),industry: "$industry",companySize: "$company_size",companyName: "$company_name",foundationYear: "$foundation_year",website: "$website",header: "$header",footer: "$footer"}JS;$this->inlineScript()->appendScript($js);$this->headLink()->appendStylesheet('/react-bundles/profile/main.css');$this->inlineScript()->appendFile('/react-bundles/profile/profileBundle.js');?><style>.user-profile-ov {position: relative;}.user-profile-ov .add-dp {position: absolute;top: 30%;right: 10%;}.user-profile-ov .add-dp i {font-size: 14px;border: 2px solid #fff;background: #e44d3a;padding: 11px;color: #ffff}</style><!-- Content Header (Page header) --><div id="profile"></div>