Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4452 Rev 4458
Línea 1... Línea 1...
1
<?php
1
<?php
-
 
2
use LeadersLinked\Model\Theme;
-
 
3
 
2
$currentUser = $this->currentUserHelper();
4
$currentUserHelper = $this->currentUserHelper();
3
$currentUser = $currentUser->getUser();
5
$currentUser = $currentUserHelper->getUser();
-
 
6
 
-
 
7
$currentNetworkHelper = $this->currentNetworkHelper();
-
 
8
$currentNetwork = $currentNetworkHelper->getNetwork();
Línea 4... Línea 9...
4
 
9
 
5
 
10
 
Línea 18... Línea 23...
18
  feed: "$feed"  
23
  feed: "$feed"  
19
}
24
}
20
const routeTimeline= "$link_timeline"
25
const routeTimeline= "$link_timeline"
21
JS;
26
JS;
22
$this->inlineScript()->appendScript($js);
27
$this->inlineScript()->appendScript($js);
-
 
28
 
-
 
29
if($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
23
$this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
30
    $this->headLink()->appendStylesheet('/react-bundles/templates/linkedin/dashboard/main.css');
24
$this->inlineScript()->appendFile('/react-bundles/dashboard/dashboardBundle.js');
31
    $this->inlineScript()->appendFile('/react-bundles/templates/linkedin/dashboard/dashboardBundle.js');
-
 
32
} else {
25
//$this->headLink()->appendStylesheet('/react-bundles/templates/linkedin/dashboard/main.css');
33
    $this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
26
//$this->inlineScript()->appendFile('/react-bundles/templates/linkedin/dashboard/dashboardBundle.js');
34
    $this->inlineScript()->appendFile('/react-bundles/dashboard/dashboardBundle.js');
-
 
35
}
-
 
36
 
27
?>
37
?>
Línea 28... Línea 38...
28
 
38
 
29
<div id="react-feeds" class="posts-section">
39
<div id="react-feeds" class="posts-section">
30
  <div class="process-comm" id="paginator-process-comm">
40
  <div class="process-comm" id="paginator-process-comm">