Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5115 Rev 5205
Línea 3... Línea 3...
3
use LeadersLinked\Model\Theme;
3
use LeadersLinked\Model\Theme;
Línea 4... Línea 4...
4
 
4
 
5
$currentUserHelper = $this->currentUserHelper();
5
$currentUserHelper = $this->currentUserHelper();
Línea -... Línea 6...
-
 
6
$currentUser = $currentUserHelper->getUser();
-
 
7
 
-
 
8
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
-
 
9
$roleName = $currentUser->usertype_id;
-
 
10
 
-
 
11
$allowDailyPulse    = $acl->isAllowed($roleName, 'daily-pulse') ? 1 : 0;
-
 
12
if($allowDailyPulse) {
-
 
13
    $routeDailyPulse = $this->url('daily-pulse');
-
 
14
} else {
-
 
15
    $routeDailyPulse = '';
-
 
16
}
-
 
17
 
6
$currentUser = $currentUserHelper->getUser();
18
 
7
 
19
 
Línea 8... Línea 20...
8
$currentNetworkHelper = $this->currentNetworkHelper();
20
$currentNetworkHelper = $this->currentNetworkHelper();
Línea 19... Línea 31...
19
  fullName: `$fullname`,
31
  fullName: `$fullname`,
20
  description: `$description`,
32
  description: `$description`,
21
  country: "$country",
33
  country: "$country",
22
  visits: "$visits",
34
  visits: "$visits",
23
  connections: "$connections",
35
  connections: "$connections",
24
  feed: "$feed"  
36
  feed: "$feed",
-
 
37
 
25
}
38
}
Línea 26... Línea 39...
26
 
39
 
27
const LABELS = {
40
const LABELS = {
28
  MY_GROUPS: 'LABEL_MY_GROUPS',
41
  MY_GROUPS: 'LABEL_MY_GROUPS',
Línea 63... Línea 76...
63
  COMMENTS: 'LABEL_COMMENTS',
76
  COMMENTS: 'LABEL_COMMENTS',
64
  SENDS: 'LABEL_SENDS',
77
  SENDS: 'LABEL_SENDS',
65
  WRITE_A_COMMENT: 'LABEL_WRITE_A_COMMENT'
78
  WRITE_A_COMMENT: 'LABEL_WRITE_A_COMMENT'
66
}
79
}
Línea 67... Línea 80...
67
 
80
 
-
 
81
const routeTimeline = "$link_timeline"
68
const routeTimeline= "$link_timeline"
82
const routeDailyPulse = "$routeDailyPulse"
69
JS;
83
JS;
Línea 70... Línea 84...
70
$this->inlineScript()->appendScript($js);
84
$this->inlineScript()->appendScript($js);
71
 
85