Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 61 Rev 637
Línea 14... Línea 14...
14
$container = $this->navigation('menuNavigation')->getContainer();
14
$container = $this->navigation('menuNavigation')->getContainer();
Línea 15... Línea 15...
15
 
15
 
Línea 16... Línea 16...
16
$image = $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]);
16
$image = $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]);
17
 
-
 
18
$isChatPage = $this->viewModel()->getCurrent()->getVariable('is_chat');
-
 
-
 
17
 
-
 
18
$isChatPage = $this->viewModel()->getCurrent()->getVariable('is_chat');
19
 
19
$routeCheckSession = $this->url('check-session');
20
 
20
$currentUser    = $this->currentUserHelper();
21
$js = <<<JS
21
$js = <<<JS
22
const navbarVars={
22
const navbarVars={
23
  image: '$image',
23
  image: '$image',
-
 
24
  isChatPage: '$isChatPage' === '1',
24
  isChatPage: '$isChatPage' === '1',
25
  link_admin : '$link_admin',
25
  link_admin : '$link_admin',
26
  routeCheckSession: '$routeCheckSession'
26
}
27
}
27
//TODO is_chat
28
//TODO is_chat
28
JS;
29
JS;