Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3542 | Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
$routeTimeline = $this->url('feed/timeline', ['id' => $group_uuid, 'type' => 'group']);
3
$js = <<<JS
4
    const groupId = "$group_uuid"
5
    const backendVars = {
6
        user_id: "$user_id",
7
        totalMembers: "$total_members",
8
        accessibility: "$accessibility",
9
        privacy: "$privacy",
10
        industry: "$industry",
11
        groupId,
12
        groupType: "$group_type",
13
        groupUuid: "$group_uuid",
14
        name: "$name",
15
        image: "$image",
16
        cover: "$cover",
17
        overview: "$overview",
18
        website: "$website",
19
        routeTimeline: "$routeTimeline",
20
        linkInmail: "$link_inmail",
21
        withoutFeeds: true
22
    }
23
JS;
24
$this->headLink()->appendStylesheet('/react-bundles/group/groupView/main.css');
25
$this->inlineScript()->appendScript($js);
26
$this->inlineScript()->appendFile('/react-bundles/group/groupView/groupView.js');
27
?>
28
 
29
<div id="react_group_view">
30
  <div class="process-comm" id="paginator-process-comm">
31
    <div class="spinner">
32
      <div class="bounce1"></div>
33
      <div class="bounce2"></div>
34
      <div class="bounce3"></div>
35
    </div>
36
  </div>
37
</div>