Rev 4452 | Rev 5106 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?php
use LeadersLinked\Model\Theme;
$currentUserHelper = $this->currentUserHelper();
$currentUser = $currentUserHelper->getUser();
$currentNetworkHelper = $this->currentNetworkHelper();
$currentNetwork = $currentNetworkHelper->getNetwork();
$routeMoodle = $this->url('moodle');
$emojione_image_path_png = $this->basePath('vendors/smiley/assets/png/');
$js = <<<JS
const backendVars={
image: "$image",
fullName: `$fullname`,
description: `$description`,
country: "$country",
visits: "$visits",
connections: "$connections",
feed: "$feed"
}
const routeTimeline= "$link_timeline"
JS;
$this->inlineScript()->appendScript($js);
if($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
$this->headLink()->appendStylesheet('/react-bundles/templates/linkedin/dashboard/main.css');
$this->inlineScript()->appendFile('/react-bundles/templates/linkedin/dashboard/dashboardBundle.js');
} else {
$this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
$this->inlineScript()->appendFile('/react-bundles/dashboard/dashboardBundle.js');
}
?>
<div id="react-feeds" class="posts-section">
<div class="process-comm" id="paginator-process-comm">
<div class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</div>
</div>