Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2480 Rev 3146
Línea 3... Línea 3...
3
$currentUser = $this->currentUserHelper();
3
$currentUser = $this->currentUserHelper();
4
$currentUser = $currentUser->getUser();
4
$currentUser = $currentUser->getUser();
Línea 5... Línea 5...
5
 
5
 
6
 
-
 
7
$routeMoodle = $this->url('moodle');
6
 
8
$routeTimeline = $this->url('feed/timeline', ['id' => $user_uuid, 'type' => 'user']);
7
$routeMoodle = $this->url('moodle');
Línea 9... Línea 8...
9
$emojione_image_path_png  = $this->basePath('vendors/smiley/assets/png/');
8
$emojione_image_path_png  = $this->basePath('vendors/smiley/assets/png/');
10
$js = <<<JS
9
$js = <<<JS
Línea 16... Línea 15...
16
  country: "$country",
15
  country: "$country",
17
  visits: "$visits",
16
  visits: "$visits",
18
  connections: "$connections",
17
  connections: "$connections",
19
  feed: "$feed"  
18
  feed: "$feed"  
20
}
19
}
21
const routeTimeline= "$routeTimeline"
20
const routeTimeline= "$link_timeline"
22
JS;
21
JS;
23
$this->inlineScript()->appendScript($js);
22
$this->inlineScript()->appendScript($js);
24
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
23
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
25
$this->inlineScript()->appendFile('/react-bundles/dashboard/dashboardBundle.js');
24
$this->inlineScript()->appendFile('/react-bundles/dashboard/dashboardBundle.js');
26
?>
25
?>