Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4459 Rev 4553
Línea 1... Línea 1...
1
<?php
1
<?php
Línea -... Línea 2...
-
 
2
 
-
 
3
use LeadersLinked\Model\Theme;
-
 
4
 
-
 
5
$currentNetworkHelper = $this->currentNetworkHelper();
2
 
6
$currentNetwork = $currentNetworkHelper->getNetwork();
3
// React components
7
// React components
4
// View
8
// View
Línea 5... Línea 9...
5
// $this->inlineScript()->appendFile('/react/profile/view/View.js', 'text/jsx');
9
// $this->inlineScript()->appendFile('/react/profile/view/View.js', 'text/jsx');
Línea 64... Línea 68...
64
  linkInmail: "$link_inmail",
68
  linkInmail: "$link_inmail",
65
}
69
}
Línea 66... Línea 70...
66
 
70
 
67
JS;
71
JS;
-
 
72
$this->inlineScript()->appendScript($js);
-
 
73
 
68
$this->inlineScript()->appendScript($js);
74
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
69
$this->headLink()->appendStylesheet('/react-bundles/profile/view/main.css');
75
  $this->headLink()->appendStylesheet('/react-bundles/profile/view/main.css');
-
 
76
  $this->inlineScript()->appendFile('/react-bundles/profile/view/linkedinProfileViewBundle.js');
70
$this->inlineScript()->appendFile('/react-bundles/profile/view/linkedinProfileViewBundle.js');
77
} else {
-
 
78
  $this->inlineScript()->appendFile('/react-bundles/profile/view/profileViewBundle.js');
-
 
79
}
71
//$this->inlineScript()->appendFile('/react-bundles/profile/view/profileViewBundle.js');
80
 
Línea 72... Línea 81...
72
?>
81
?>
73
 
82
 
74
<div id="react_profile_view">
83
<div id="react_profile_view">