| 3262 |
efrain |
1 |
<?php
|
|
|
2 |
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
|
|
|
3 |
$currentUser = $this->currentUserHelper();
|
|
|
4 |
$currentUser = $currentUser->getUser();
|
|
|
5 |
|
|
|
6 |
$js = <<<JS
|
|
|
7 |
const backendVars={
|
|
|
8 |
labelSend: "LABEL_SEND",
|
|
|
9 |
labelUsers: "LABEL_USERS",
|
|
|
10 |
labelWriteMessage: "LABEL_WRITE_YOUR_MESSAGE_HERE",
|
|
|
11 |
image: "$image",
|
| 5373 |
stevensc |
12 |
uuid: "$uuid",
|
| 3262 |
efrain |
13 |
fullName: `$fullname`,
|
|
|
14 |
description: `$description`,
|
|
|
15 |
country: "$country",
|
|
|
16 |
visits: "$visits",
|
|
|
17 |
connections: "$connections"
|
|
|
18 |
}
|
|
|
19 |
|
| 5274 |
stevensc |
20 |
const LABELS = {
|
|
|
21 |
MY_GROUPS: 'LABEL_MY_GROUPS',
|
|
|
22 |
GROUPS: 'LABEL_GROUPS',
|
|
|
23 |
WHAT_ARE_YOU_THINKING: 'LABEL_WHAT_ARE_YOU_THINKING',
|
|
|
24 |
GROUP_VIEW: 'LABEL_GROUP_VIEW',
|
|
|
25 |
VIEW_MORE: 'LABEL_VIEW_MORE',
|
|
|
26 |
VIEW_LESS: 'LABEL_VIEW_LESS',
|
|
|
27 |
WHO_HAS_SEEN_MY_PROFILE: 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
|
|
|
28 |
CONNECT_WITH: 'LABEL_CONNECT_WITH',
|
|
|
29 |
POSTS: 'LABEL_POSTS',
|
|
|
30 |
DATATABLE_EMPTY: 'LABEL_DATATABLE_EMPTY',
|
|
|
31 |
CONNECT: 'LABEL_CONNECT',
|
|
|
32 |
CANCEL: 'LABEL_CANCEL',
|
|
|
33 |
NOT_AVAILABLE_POSTS: 'LABEL_NOT_AVAILABLE_POSTS',
|
|
|
34 |
MICRO_LEARNING: 'LABEL_MICRO_LEARNING',
|
|
|
35 |
NOT_AVAILABLE_FEEDS: 'LABEL_NOT_AVAILABLE_FEEDS',
|
|
|
36 |
SEND: 'LABEL_SEND',
|
|
|
37 |
SHARE_A_POST: 'LABEL_SHARE_A_POST',
|
|
|
38 |
SHARE_WITH: 'LABEL_SHARE_WITH',
|
|
|
39 |
CONNECTIONS: 'LABEL_CONNECTIONS',
|
|
|
40 |
PUBLIC: 'LABEL_PUBLIC',
|
|
|
41 |
SUGGEST_GROUPS: 'LABEL_SUGGEST_GROUPS',
|
|
|
42 |
VIEW_RECOMMENDATIONS: 'LABEL_VIEW_RECOMMENDATIONS',
|
|
|
43 |
IMAGE: 'LABEL_IMAGE',
|
|
|
44 |
DOCUMENT: 'LABEL_DOCUMENT',
|
|
|
45 |
AUDIO: 'LABEL_AUDIO',
|
|
|
46 |
VIDEO: 'LABEL_VIDEO',
|
|
|
47 |
WRITE_A_POST: 'LABEL_WRITE_A_POST',
|
|
|
48 |
DELETE: 'LABEL_DELETE',
|
|
|
49 |
DOWNLOAD: 'LABEL_DOWNLOAD',
|
|
|
50 |
READ_MORE: 'LABEL_READ_MORE',
|
|
|
51 |
READ_LESS: 'LABEL_READ_LESS',
|
|
|
52 |
LIKE: 'LABEL_LIKE',
|
|
|
53 |
COMMENT: 'LABEL_COMMENT',
|
|
|
54 |
SHARE: 'LABEL_SHARE',
|
|
|
55 |
SHARED: 'LABEL_SHARED',
|
|
|
56 |
COMMENTS: 'LABEL_COMMENTS',
|
|
|
57 |
SENDS: 'LABEL_SENDS',
|
| 5276 |
stevensc |
58 |
WRITE_A_COMMENT: 'LABEL_WRITE_A_COMMENT',
|
| 5275 |
stevensc |
59 |
MICRO_LEARNING: 'LABEL_MICRO_LEARNING'
|
| 5274 |
stevensc |
60 |
}
|
| 3262 |
efrain |
61 |
JS;
|
| 3576 |
stevensc |
62 |
|
| 3262 |
efrain |
63 |
$this->inlineScript()->appendScript($js);
|
| 5273 |
stevensc |
64 |
$this->inlineScript()->appendFile('/react-bundles/notifications/notificationsBundle.js');
|
| 3262 |
efrain |
65 |
?>
|
|
|
66 |
|
|
|
67 |
<div id="react-notifications-page" class="posts-section">
|
|
|
68 |
<div class="process-comm" id="paginator-process-comm">
|
|
|
69 |
<div class="spinner">
|
|
|
70 |
<div class="bounce1"></div>
|
|
|
71 |
<div class="bounce2"></div>
|
|
|
72 |
<div class="bounce3"></div>
|
|
|
73 |
</div>
|
|
|
74 |
</div>
|
|
|
75 |
</div>
|