Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3518 | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

<?php
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
$currentUser    = $this->currentUserHelper();
$roleName       = $currentUser->getUserTypeId();

$routePeopleViewedProfile  = $this->url('profile/people-viewed-profile');

$js = <<<JS
const peopleViewedProfileUrl = '$routePeopleViewedProfile' 

const LABELS = {
  SEARCH: 'LABEL_SEARCH',
  JOB_REQUEST_CANCEL: 'LABEL_JOB_REQUEST_CANCEL',
  VIEW_JOB: 'LABEL_VIEW_JOB', 
  DATATABLE_SZERORECORDS: 'LABEL_DATATABLE_SZERORECORDS',
  WHO_HAS_SEEN_MY_PROFILE: 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
  MESSAGE: 'LABEL_MESSAGE',
  VIEW_PROFILE: 'LABEL_VIEW_PROFILE',
}
JS;

$this->inlineScript()->appendScript($js);
$this->headLink()->appendStylesheet('/look-and-field/profile.css');
$this->inlineScript()->appendFile('/react-bundles/profile/people-viewed-profile/peopleViewedProfileBundle.js');
?>
<div id="react_people_viewed_profile">
  <div class="process-comm" id="paginator-process-comm">
    <div class="spinner">
      <div class="bounce1"></div>
      <div class="bounce2"></div>
      <div class="bounce3"></div>
    </div>
  </div>
</div>