Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3542 | Rev 4632 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
4530 stevensc 2
use LeadersLinked\Model\Theme;
3
 
1 www 4
$routeTimeline = $this->url('feed/timeline', ['id' => $group_uuid, 'type' => 'group']);
4530 stevensc 5
 
6
$currentNetworkHelper = $this->currentNetworkHelper();
7
$currentNetwork = $currentNetworkHelper->getNetwork();
8
 
1 www 9
$js = <<<JS
10
    const groupId = "$group_uuid"
11
    const backendVars = {
12
        user_id: "$user_id",
13
        totalMembers: "$total_members",
14
        accessibility: "$accessibility",
15
        privacy: "$privacy",
16
        industry: "$industry",
17
        groupId,
18
        groupType: "$group_type",
19
        groupUuid: "$group_uuid",
20
        name: "$name",
21
        image: "$image",
22
        cover: "$cover",
23
        overview: "$overview",
24
        website: "$website",
25
        routeTimeline: "$routeTimeline",
26
        linkInmail: "$link_inmail",
27
        withoutFeeds: true
28
    }
29
JS;
3542 stevensc 30
 
1 www 31
$this->inlineScript()->appendScript($js);
4530 stevensc 32
 
33
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
34
  $this->headLink()->appendStylesheet('/react-bundles/templates/linkedin/dashboard/main.css');
35
  $this->headLink()->appendStylesheet('/react-bundles/group/groupView/main.css');
36
  $this->inlineScript()->appendFile('/react-bundles/group/groupView/linkedinGroupView.js');
37
} else {
38
  $this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
39
  $this->inlineScript()->appendFile('/react-bundles/group/groupView/groupView.js');
40
}
1 www 41
?>
42
 
43
<div id="react_group_view">
44
  <div class="process-comm" id="paginator-process-comm">
45
    <div class="spinner">
46
      <div class="bounce1"></div>
47
      <div class="bounce2"></div>
48
      <div class="bounce3"></div>
49
    </div>
50
  </div>
51
</div>