Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5363 Rev 5414
Línea 8... Línea 8...
8
// vars to json
8
// vars to json
9
$locationsJson = json_encode($locations);
9
$locationsJson = json_encode($locations);
10
$routeTimeline  = $this->url('feed/timeline', ['id' => $company_uuid, 'type' => 'company']);
10
$routeTimeline  = $this->url('feed/timeline', ['id' => $company_uuid, 'type' => 'company']);
Línea 11... Línea 11...
11
 
11
 
12
$js = <<<JS
-
 
13
 
12
$js = <<<JS
14
const backendVars = {
13
const backendVars = {
15
  companyId: "$company_uuid",
14
  companyId: "$company_uuid",
16
  cover: "$cover",
15
  cover: "$cover",
17
  image: "$image",
16
  image: "$image",
18
  totalFollowers: "$total_followers",
17
  totalFollowers: "$total_followers",
19
  facebook: "$facebook",
18
  facebook: "$facebook",
20
  twitter: "$twitter",
19
  twitter: "$twitter",
21
  instagram: "$instagram",
20
  instagram: "$instagram",
22
  companyName: "$company_name",
21
  companyName: "$company_name",
23
  overview: "$overview",
22
  overview: "$overview",
24
  locations: JSON.parse('$locationsJson'),
23
  locations: $locationsJson,
25
  industry: "$industry",
24
  industry: "$industry",
26
  companySize: "$company_size",
25
  companySize: "$company_size",
27
  foundationYear: "$foundation_year",
26
  foundationYear: "$foundation_year",
28
  website: "$website",
27
  website: "$website",
29
  timeline: '$routeTimeline'
28
  timeline: '$routeTimeline'
-
 
29
}
30
}
30
const LABELS = {}
31
JS;
31
JS;
Línea 32... Línea 32...
32
$this->inlineScript()->appendScript($js);
32
$this->inlineScript()->appendScript($js);
33
 
33
 
Línea 39... Línea 39...
39
  $this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
39
  $this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
40
  $this->inlineScript()->appendFile('/react-bundles/company/view/companyViewBundle.js');
40
  $this->inlineScript()->appendFile('/react-bundles/company/view/companyViewBundle.js');
41
}
41
}
Línea 42... Línea 42...
42
 
42
 
43
?>
43
?>
44
<div id="react_my_connections">
44
<div id="react_my_company">
45
  <div class="process-comm" id="paginator-process-comm">
45
  <div class="process-comm" id="paginator-process-comm">
46
    <div class="spinner">
46
    <div class="spinner">
47
      <div class="bounce1"></div>
47
      <div class="bounce1"></div>
48
      <div class="bounce2"></div>
48
      <div class="bounce2"></div>