| 1 |
www |
1 |
<?php
|
|
|
2 |
$acl = $this->viewModel()->getRoot()->getVariable('acl');
|
|
|
3 |
$currentUser = $this->currentUserHelper();
|
|
|
4 |
$roleName = $currentUser->getUserTypeId();
|
|
|
5 |
|
|
|
6 |
$routePeopleViewedProfile = $this->url('profile/people-viewed-profile');
|
|
|
7 |
|
| 5161 |
stevensc |
8 |
$js = <<<JS
|
|
|
9 |
const peopleViewedProfileUrl = '$routePeopleViewedProfile'
|
| 1 |
www |
10 |
|
| 5161 |
stevensc |
11 |
const LABELS = {
|
|
|
12 |
SEARCH: 'LABEL_SEARCH',
|
|
|
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',
|
|
|
18 |
VIEW_PROFILE: 'LABEL_VIEW_PROFILE',
|
|
|
19 |
}
|
|
|
20 |
JS;
|
| 1 |
www |
21 |
|
| 5161 |
stevensc |
22 |
$this->inlineScript()->appendScript($js);
|
| 3518 |
stevensc |
23 |
$this->headLink()->appendStylesheet('/look-and-field/profile.css');
|
| 1 |
www |
24 |
$this->inlineScript()->appendFile('/react-bundles/profile/people-viewed-profile/peopleViewedProfileBundle.js');
|
|
|
25 |
?>
|
|
|
26 |
<div id="react_people_viewed_profile">
|
|
|
27 |
<div class="process-comm" id="paginator-process-comm">
|
|
|
28 |
<div class="spinner">
|
|
|
29 |
<div class="bounce1"></div>
|
|
|
30 |
<div class="bounce2"></div>
|
|
|
31 |
<div class="bounce3"></div>
|
|
|
32 |
</div>
|
|
|
33 |
</div>
|
|
|
34 |
</div>
|