Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3553 Rev 4531
Línea 1... Línea 1...
1
<?php
1
<?php
-
 
2
 
-
 
3
use LeadersLinked\Model\Theme;
-
 
4
 
-
 
5
$currentNetworkHelper = $this->currentNetworkHelper();
-
 
6
$currentNetwork = $currentNetworkHelper->getNetwork();
-
 
7
 
2
// vars to json
8
// vars to json
3
$locationsJson = json_encode($locations);
9
$locationsJson = json_encode($locations);
4
$routeTimeline  = $this->url('feed/timeline', ['id' => $company_uuid, 'type' => 'company']);
10
$routeTimeline  = $this->url('feed/timeline', ['id' => $company_uuid, 'type' => 'company']);
Línea 5... Línea 11...
5
 
11
 
Línea 22... Línea 28...
22
  website: "$website",
28
  website: "$website",
23
  timeline: '$routeTimeline'
29
  timeline: '$routeTimeline'
24
}
30
}
25
JS;
31
JS;
26
$this->inlineScript()->appendScript($js);
32
$this->inlineScript()->appendScript($js);
-
 
33
 
-
 
34
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
-
 
35
  $this->inlineScript()->appendFile('/react-bundles/company/view/linkedinCompanyViewBundle.js');
-
 
36
  $this->headLink()->appendStylesheet('/react-bundles/company/view/main.css');
-
 
37
} else {
27
$this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
38
  $this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
28
$this->inlineScript()->appendFile('/react-bundles/company/view/companyViewBundle.js');
39
  $this->inlineScript()->appendFile('/react-bundles/company/view/companyViewBundle.js');
-
 
40
}
-
 
41
 
29
?>
42
?>
30
<div id="react_my_connections">
43
<div id="react_my_connections">
31
  <div class="process-comm" id="paginator-process-comm">
44
  <div class="process-comm" id="paginator-process-comm">
32
    <div class="spinner">
45
    <div class="spinner">
33
      <div class="bounce1"></div>
46
      <div class="bounce1"></div>