Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3518 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3518 Rev 5161
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();
4
$roleName       = $currentUser->getUserTypeId();
4
$roleName       = $currentUser->getUserTypeId();
Línea 5... Línea -...
5
 
-
 
6
 
5
 
Línea 7... Línea -...
7
$routePeopleViewedProfile  = $this->url('profile/people-viewed-profile');
-
 
8
 
-
 
-
 
6
$routePeopleViewedProfile  = $this->url('profile/people-viewed-profile');
9
// $this->headLink()->appendStylesheet($this->basePath('vendors/select2/dist/css/select2.min.css'));
7
 
Línea -... Línea 8...
-
 
8
$js = <<<JS
-
 
9
const peopleViewedProfileUrl = '$routePeopleViewedProfile' 
-
 
10
 
-
 
11
const LABELS = {
10
// $this->headLink()->appendStylesheet($this->basePath('vendors/select2-bootstrap4/dist/select2-bootstrap4.min.css'));
12
  SEARCH: 'LABEL_SEARCH',
11
// $this->inlineScript()->appendFile($this->basePath('vendors/select2/dist/js/select2.min.js'));
13
  JOB_REQUEST_CANCEL: 'LABEL_JOB_REQUEST_CANCEL',
-
 
14
  VIEW_JOB: 'LABEL_VIEW_JOB', 
-
 
15
  DATATABLE_SZERORECORDS: 'LABEL_DATATABLE_SZERORECORDS',
-
 
16
  WHO_HAS_SEEN_MY_PROFILE: 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
-
 
17
  MESSAGE: 'LABEL_MESSAGE',
Línea 12... Línea 18...
12
 
18
  VIEW_PROFILE: 'LABEL_VIEW_PROFILE',
13
// $this->inlineScript()->appendFile($this->basePath('vendors/bootstrap-confirmation/dist/bootstrap-confirmation.js'));
19
}
14
// $this->inlineScript()->appendFile($this->basePath('vendors/jsrender/jsrender.min.js'));
20
JS;
15
 
21
 
16
// $this->inlineScript()->captureStart();
22
$this->inlineScript()->appendScript($js);
17
$this->headLink()->appendStylesheet('/look-and-field/profile.css');
23
$this->headLink()->appendStylesheet('/look-and-field/profile.css');