Rev 16697 | Rev 16763 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?php$acl = $this->viewModel()->getRoot()->getVariable('acl');$currentUser = $this->currentUserHelper();$currentUser = $currentUser->getUser();$routeTimeline = $this->url('feeds/timeline');$roleName = $currentUser->getUserTypeId();$allowFastSurvey = $acl->isAllowed($roleName, 'fast-survey') ? 1 : 0;$js = <<<JSconst routeTimeline = "$routeTimeline";const allowFastSurvey = "$allowFastSurvey";JS;$this->inlineScript()->appendScript($js);$this->headLink()->appendStylesheet('/css/style.css');$this->headLink()->appendStylesheet('/react-bundles/feeds/main.css');$this->inlineScript()->appendFile('/react-bundles/feeds/feedsBundle.js');?><div id="admin-feeds"></div>