Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 20 Rev 7545
Línea 1... Línea 1...
1
<?php
1
<?php
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
3
$currentUser    = $this->currentUserHelper();
3
$currentUser    = $this->currentUserHelper();
Línea -... Línea 4...
-
 
4
 
4
 
5
$
Línea 5... Línea 6...
5
$roleName = $currentUser->getUserTypeId();
6
$roleName = $currentUser->getUserTypeId();
Línea 170... Línea 171...
170
 
171
 
171
 
172
 
172
    });
173
    });
173
JS;
-
 
174
$this->inlineScript()->captureEnd();
-
 
Línea -... Línea 174...
-
 
174
JS;
-
 
175
$this->inlineScript()->captureEnd();
-
 
176
 
-
 
177
$js = <<<JS
-
 
178
const backendVar={
-
 
179
    table_link: "$routeDatatable", 
Línea -... Línea 180...
-
 
180
    allowDelete: "$allowDelete"
-
 
181
}
-
 
182
JS;
-
 
183
 
-
 
184
$this->inlineScript()->appendScript($js);
Línea 175... Línea 185...
175
?>
185
$this->inlineScript()->appendFile('/react-bundles/followers/followersBundle.js');