Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4808 Rev 4842
Línea 904... Línea 904...
904
            'services/sync',
904
            'services/sync',
905
            'services/sync-batch',
905
            'services/sync-batch',
906
        ],
906
        ],
907
    ];
907
    ];
908
}
908
}
-
 
909
 
-
 
910
function getAclMenuDefaultNetworkConnectionUser2User()
-
 
911
{
-
 
912
    return [
-
 
913
        [
-
 
914
            'label' => 'LABEL_HOME',
-
 
915
            'route' => 'dashboard',
-
 
916
            'class' => '/images/navbar/home.svg',
-
 
917
        ],
-
 
918
        [
-
 
919
            'label' => 'LABEL_PROFILE',
-
 
920
            'route' => 'profile',
-
 
921
            'class' => '/images/navbar/perfil.svg',
-
 
922
            'pages' => [
-
 
923
                [
-
 
924
                    'label' => 'LABEL_CONNECTIONS',
-
 
925
                    'route' => 'connection',
-
 
926
                    //'class' =>'/images/navbar/conexion.svg',
-
 
927
                    'pages' => [
-
 
928
                        [
-
 
929
                            'label' => 'LABEL_MY_CONNECTIONS',
-
 
930
                            'route' => 'connection/my-connections'
-
 
931
                        ],
-
 
932
                        [
-
 
933
                            'label' => 'LABEL_INVITATIONS_SENT',
-
 
934
                            'route' => 'connection/invitations-sent'
-
 
935
                        ],
-
 
936
                        [
-
 
937
                            'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
938
                            'route' => 'connection/invitations-received'
-
 
939
                        ],
-
 
940
                        [
-
 
941
                            'label' => 'LABEL_PEOPLE_YOU_MAY_KNOW',
-
 
942
                            'route' => 'connection/people-you-may-know'
-
 
943
                        ],
-
 
944
                        [
-
 
945
                            'label' => 'LABEL_PEOPLE_BLOCKED',
-
 
946
                            'route' => 'connection/people-blocked'
-
 
947
                        ],
-
 
948
                        
-
 
949
                        
-
 
950
                    ]
-
 
951
                ],
-
 
952
                [
-
 
953
                    'label' => 'LABEL_MY_PROFILES',
-
 
954
                    'route' => 'profile/my-profiles'
-
 
955
                ],
-
 
956
                [
-
 
957
                    'label' => 'LABEL_JOBS_APPLIED',
-
 
958
                    'route' => 'job/applied-jobs'
-
 
959
                ],
-
 
960
                [
-
 
961
                    'label' => 'LABEL_JOBS_SAVED',
-
 
962
                    'route' => 'job/saved-jobs'
-
 
963
                ],
-
 
964
                [
-
 
965
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
-
 
966
                    'route' => 'profile/people-viewed-profile'
-
 
967
                ],
-
 
968
                
-
 
969
            ]
-
 
970
        ],
-
 
971
        
-
 
972
        
-
 
973
        [
-
 
974
            'label' => 'LABEL_COMPANIES',
-
 
975
            'route' => 'company',
-
 
976
            'class' => '/images/navbar/empresa.svg',
-
 
977
            'pages' => [
-
 
978
                [
-
 
979
                    'label' => 'LABEL_MY_COMPANIES',
-
 
980
                    'route' => 'company/my-companies'
-
 
981
                ],
-
 
982
                [
-
 
983
                    'label' => 'LABEL_COMPANIES_I_FOLLOW',
-
 
984
                    'route' => 'company/following-companies'
-
 
985
                ],
-
 
986
                [
-
 
987
                    'label' => 'LABEL_COMPANIES_I_WORK_WITH',
-
 
988
                    'route' => 'company/i-work-with'
-
 
989
                ],
-
 
990
                [
-
 
991
                    'label' => 'LABEL_REQUESTS_SENT',
-
 
992
                    'route' => 'company/requests-sent'
-
 
993
                ],
-
 
994
                [
-
 
995
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
996
                    'route' => 'company/invitations-received'
-
 
997
                ]
-
 
998
            ]
-
 
999
        ],
-
 
1000
        
-
 
1001
        [
-
 
1002
            'label' => 'LABEL_GROUPS',
-
 
1003
            'route' => 'group',
-
 
1004
            'class' => '/images/navbar/grupos.svg',
-
 
1005
            'pages' => [
-
 
1006
                [
-
 
1007
                    'label' => 'LABEL_MY_GROUPS',
-
 
1008
                    'route' => 'group/my-groups'
-
 
1009
                ],
-
 
1010
                [
-
 
1011
                    'label' => 'LABEL_JOINED_GROUPS',
-
 
1012
                    'route' => 'group/joined-groups'
-
 
1013
                ],
-
 
1014
                [
-
 
1015
                    'label' => 'LABEL_REQUESTS_SENT',
-
 
1016
                    'route' => 'group/requests-sent'
-
 
1017
                ],
-
 
1018
                [
-
 
1019
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
1020
                    'route' => 'group/invitations-received'
-
 
1021
                ]
-
 
1022
            ]
-
 
1023
        ],
-
 
1024
        [
-
 
1025
            'label' => 'LABEL_MARKETPLACE',
-
 
1026
            'route' => 'marketplace',
-
 
1027
            'class' => '/images/navbar/market-place.svg',
-
 
1028
        ],
-
 
1029
        [
-
 
1030
            'label' => 'LABEL_CALENDAR',
-
 
1031
            'route' => 'calendar',
-
 
1032
            'class' => '/images/navbar/calendar.svg',
-
 
1033
        ],
-
 
1034
        
-
 
1035
        
-
 
1036
        
-
 
1037
        
-
 
1038
        
-
 
1039
        
-
 
1040
        
-
 
1041
        
-
 
1042
        /* [
-
 
1043
         'label' => 'LABEL_MESSAGES',
-
 
1044
         'route' => 'inmail',
-
 
1045
         'class' => 'fa fa-envelope',
-
 
1046
         ],
-
 
1047
         [
-
 
1048
         'label' => 'LABEL_NOTIFICATIONS',
-
 
1049
         'route' => 'dashboard',
-
 
1050
         'class' => 'fa fa-bolt',
-
 
1051
         ], */
-
 
1052
    ];
-
 
1053
}
-
 
1054
 
-
 
1055
function getAclMenuDefaultNetworkConnectionAll2All()
-
 
1056
{
-
 
1057
    return [
-
 
1058
        [
-
 
1059
            'label' => 'LABEL_HOME',
-
 
1060
            'route' => 'dashboard',
-
 
1061
            'class' => '/images/navbar/home.svg',
-
 
1062
        ],
-
 
1063
        [
-
 
1064
            'label' => 'LABEL_PROFILE',
-
 
1065
            'route' => 'profile',
-
 
1066
            'class' => '/images/navbar/perfil.svg',
-
 
1067
            'pages' => [
-
 
1068
                [
-
 
1069
                    'label' => 'LABEL_MY_CONNECTIONS',
-
 
1070
                    'route' =>'connection/my-connections',
-
 
1071
                ],
-
 
1072
                [
-
 
1073
                    'label' => 'LABEL_MY_PROFILES',
-
 
1074
                    'route' => 'profile/my-profiles'
-
 
1075
                ],
-
 
1076
                [
-
 
1077
                    'label' => 'LABEL_JOBS_APPLIED',
-
 
1078
                    'route' => 'job/applied-jobs'
-
 
1079
                ],
-
 
1080
                [
-
 
1081
                    'label' => 'LABEL_JOBS_SAVED',
-
 
1082
                    'route' => 'job/saved-jobs'
-
 
1083
                ],
-
 
1084
                [
-
 
1085
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
-
 
1086
                    'route' => 'profile/people-viewed-profile'
-
 
1087
                ],
-
 
1088
                
-
 
1089
            ]
-
 
1090
        ],
-
 
1091
        
-
 
1092
        
-
 
1093
        [
-
 
1094
            'label' => 'LABEL_COMPANIES',
-
 
1095
            'route' => 'company',
-
 
1096
            'class' => '/images/navbar/empresa.svg',
-
 
1097
            'pages' => [
-
 
1098
                [
-
 
1099
                    'label' => 'LABEL_MY_COMPANIES',
-
 
1100
                    'route' => 'company/my-companies'
-
 
1101
                ],
-
 
1102
                [
-
 
1103
                    'label' => 'LABEL_COMPANIES_I_FOLLOW',
-
 
1104
                    'route' => 'company/following-companies'
-
 
1105
                ],
-
 
1106
                [
-
 
1107
                    'label' => 'LABEL_COMPANIES_I_WORK_WITH',
-
 
1108
                    'route' => 'company/i-work-with'
-
 
1109
                ],
-
 
1110
                [
-
 
1111
                    'label' => 'LABEL_REQUESTS_SENT',
-
 
1112
                    'route' => 'company/requests-sent'
-
 
1113
                ],
-
 
1114
                [
-
 
1115
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
1116
                    'route' => 'company/invitations-received'
-
 
1117
                ]
-
 
1118
            ]
-
 
1119
        ],
-
 
1120
        
-
 
1121
        [
-
 
1122
            'label' => 'LABEL_GROUPS',
-
 
1123
            'route' => 'group',
-
 
1124
            'class' => '/images/navbar/grupos.svg',
-
 
1125
            'pages' => [
-
 
1126
                [
-
 
1127
                    'label' => 'LABEL_MY_GROUPS',
-
 
1128
                    'route' => 'group/my-groups'
-
 
1129
                ],
-
 
1130
                [
-
 
1131
                    'label' => 'LABEL_JOINED_GROUPS',
-
 
1132
                    'route' => 'group/joined-groups'
-
 
1133
                ],
-
 
1134
                [
-
 
1135
                    'label' => 'LABEL_REQUESTS_SENT',
-
 
1136
                    'route' => 'group/requests-sent'
-
 
1137
                ],
-
 
1138
                [
-
 
1139
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
1140
                    'route' => 'group/invitations-received'
-
 
1141
                ]
-
 
1142
            ]
-
 
1143
        ],
-
 
1144
        [
-
 
1145
            'label' => 'LABEL_MARKETPLACE',
-
 
1146
            'route' => 'marketplace',
-
 
1147
            'class' => '/images/navbar/market-place.svg',
-
 
1148
        ],
-
 
1149
        [
-
 
1150
            'label' => 'LABEL_CALENDAR',
-
 
1151
            'route' => 'calendar',
-
 
1152
            'class' => '/images/navbar/calendar.svg',
-
 
1153
        ],
-
 
1154
        
-
 
1155
        
-
 
1156
        
-
 
1157
        
-
 
1158
        
-
 
1159
        
-
 
1160
        
-
 
1161
        
-
 
1162
        /* [
-
 
1163
         'label' => 'LABEL_MESSAGES',
-
 
1164
         'route' => 'inmail',
-
 
1165
         'class' => 'fa fa-envelope',
-
 
1166
         ],
-
 
1167
         [
-
 
1168
         'label' => 'LABEL_NOTIFICATIONS',
-
 
1169
         'route' => 'dashboard',
-
 
1170
         'class' => 'fa fa-bolt',
-
 
1171
         ], */
-
 
1172
    ];
-
 
1173
}
-
 
1174
 
-
 
1175
function getAclMenuNonDefaulNetworkConnectionUser2User()
-
 
1176
{
-
 
1177
    return [
-
 
1178
        [
-
 
1179
            'label' => 'LABEL_HOME',
-
 
1180
            'route' => 'dashboard',
-
 
1181
            'class' => '/images/navbar/home.svg',
-
 
1182
        ],
-
 
1183
        [
-
 
1184
            'label' => 'LABEL_PROFILE',
-
 
1185
            'route' => 'profile',
-
 
1186
            'class' => '/images/navbar/perfil.svg',
-
 
1187
            'pages' => [
-
 
1188
                [
-
 
1189
                    'label' => 'LABEL_CONNECTIONS',
-
 
1190
                    'route' => 'connection',
-
 
1191
                    //'class' =>'/images/navbar/conexion.svg',
-
 
1192
                    'pages' => [
-
 
1193
                        [
-
 
1194
                            'label' => 'LABEL_MY_CONNECTIONS',
-
 
1195
                            'route' => 'connection/my-connections'
-
 
1196
                        ],
-
 
1197
                        [
-
 
1198
                            'label' => 'LABEL_INVITATIONS_SENT',
-
 
1199
                            'route' => 'connection/invitations-sent'
-
 
1200
                        ],
-
 
1201
                        [
-
 
1202
                            'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
1203
                            'route' => 'connection/invitations-received'
-
 
1204
                        ],
-
 
1205
                        [
-
 
1206
                            'label' => 'LABEL_PEOPLE_YOU_MAY_KNOW',
-
 
1207
                            'route' => 'connection/people-you-may-know'
-
 
1208
                        ],
-
 
1209
                        [
-
 
1210
                            'label' => 'LABEL_PEOPLE_BLOCKED',
-
 
1211
                            'route' => 'connection/people-blocked'
-
 
1212
                        ],
-
 
1213
                        
-
 
1214
                        
-
 
1215
                    ]
-
 
1216
                ],
-
 
1217
                [
-
 
1218
                    'label' => 'LABEL_MY_PROFILES',
-
 
1219
                    'route' => 'profile/my-profiles'
-
 
1220
                ],
-
 
1221
                [
-
 
1222
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
-
 
1223
                    'route' => 'profile/people-viewed-profile'
-
 
1224
                ],
-
 
1225
                
-
 
1226
            ]
-
 
1227
        ],
-
 
1228
        
-
 
1229
        [
-
 
1230
            'label' => 'LABEL_COMPANY',
-
 
1231
            'route' => 'company',
-
 
1232
            'class' => '/images/navbar/empresa.svg',
-
 
1233
            
-
 
1234
        ],
-
 
1235
        
-
 
1236
        [
-
 
1237
            'label' => 'LABEL_GROUPS',
-
 
1238
            'route' => 'group',
-
 
1239
            'class' => '/images/navbar/grupos.svg',
-
 
1240
            'pages' => [
-
 
1241
                [
-
 
1242
                    'label' => 'LABEL_MY_GROUPS',
-
 
1243
                    'route' => 'group/my-groups'
-
 
1244
                ],
-
 
1245
                [
-
 
1246
                    'label' => 'LABEL_JOINED_GROUPS',
-
 
1247
                    'route' => 'group/joined-groups'
-
 
1248
                ],
-
 
1249
                [
-
 
1250
                    'label' => 'LABEL_REQUESTS_SENT',
-
 
1251
                    'route' => 'group/requests-sent'
-
 
1252
                ],
-
 
1253
                [
-
 
1254
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
1255
                    'route' => 'group/invitations-received'
-
 
1256
                ]
-
 
1257
            ]
-
 
1258
        ],
-
 
1259
        [
-
 
1260
            'label' => 'LABEL_MARKETPLACE',
-
 
1261
            'route' => 'marketplace',
-
 
1262
            'class' => '/images/navbar/market-place.svg',
-
 
1263
        ],
-
 
1264
        [
-
 
1265
            'label' => 'LABEL_CALENDAR',
-
 
1266
            'route' => 'calendar',
-
 
1267
            'class' => '/images/navbar/calendar.svg',
-
 
1268
        ],
-
 
1269
        
-
 
1270
        
-
 
1271
        
-
 
1272
        
-
 
1273
        
-
 
1274
        
-
 
1275
        
-
 
1276
        
-
 
1277
        /* [
-
 
1278
         'label' => 'LABEL_MESSAGES',
-
 
1279
         'route' => 'inmail',
-
 
1280
         'class' => 'fa fa-envelope',
-
 
1281
         ],
-
 
1282
         [
-
 
1283
         'label' => 'LABEL_NOTIFICATIONS',
-
 
1284
         'route' => 'dashboard',
-
 
1285
         'class' => 'fa fa-bolt',
-
 
1286
         ], */
-
 
1287
    ];
-
 
1288
}
-
 
1289
 
-
 
1290
function getAclMenuNonDefaultNetworkConnectionAll2All()
-
 
1291
{
-
 
1292
    return [
-
 
1293
        [
-
 
1294
            'label' => 'LABEL_HOME',
-
 
1295
            'route' => 'dashboard',
-
 
1296
            'class' => '/images/navbar/home.svg',
-
 
1297
        ],
-
 
1298
        [
-
 
1299
            'label' => 'LABEL_PROFILE',
-
 
1300
            'route' => 'profile',
-
 
1301
            'class' => '/images/navbar/perfil.svg',
-
 
1302
            'pages' => [
-
 
1303
                [
-
 
1304
                    'label' => 'LABEL_MY_CONNECTIONS',
-
 
1305
                    'route' => 'connection/my-connections'
-
 
1306
                ],
-
 
1307
                [
-
 
1308
                    'label' => 'LABEL_MY_PROFILES',
-
 
1309
                    'route' => 'profile/my-profiles'
-
 
1310
                ],
-
 
1311
                [
-
 
1312
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
-
 
1313
                    'route' => 'profile/people-viewed-profile'
-
 
1314
                ],
-
 
1315
                
-
 
1316
            ]
-
 
1317
        ],
-
 
1318
        
-
 
1319
        [
-
 
1320
            'label' => 'LABEL_COMPANY',
-
 
1321
            'route' => 'company',
-
 
1322
            'class' => '/images/navbar/empresa.svg',
-
 
1323
            
-
 
1324
        ],
-
 
1325
       
-
 
1326
        
-
 
1327
        [
-
 
1328
            'label' => 'LABEL_GROUPS',
-
 
1329
            'route' => 'group',
-
 
1330
            'class' => '/images/navbar/grupos.svg',
-
 
1331
            'pages' => [
-
 
1332
                [
-
 
1333
                    'label' => 'LABEL_MY_GROUPS',
-
 
1334
                    'route' => 'group/my-groups'
-
 
1335
                ],
-
 
1336
                [
-
 
1337
                    'label' => 'LABEL_JOINED_GROUPS',
-
 
1338
                    'route' => 'group/joined-groups'
-
 
1339
                ],
-
 
1340
                [
-
 
1341
                    'label' => 'LABEL_REQUESTS_SENT',
-
 
1342
                    'route' => 'group/requests-sent'
-
 
1343
                ],
-
 
1344
                [
-
 
1345
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
-
 
1346
                    'route' => 'group/invitations-received'
-
 
1347
                ]
-
 
1348
            ]
-
 
1349
        ],
-
 
1350
        [
-
 
1351
            'label' => 'LABEL_MARKETPLACE',
-
 
1352
            'route' => 'marketplace',
-
 
1353
            'class' => '/images/navbar/market-place.svg',
-
 
1354
        ],
-
 
1355
        [
-
 
1356
            'label' => 'LABEL_CALENDAR',
-
 
1357
            'route' => 'calendar',
-
 
1358
            'class' => '/images/navbar/calendar.svg',
-
 
1359
        ],
-
 
1360
        
-
 
1361
        
-
 
1362
        
-
 
1363
        
-
 
1364
        
-
 
1365
        
-
 
1366
        
-
 
1367
        
-
 
1368
        /* [
-
 
1369
         'label' => 'LABEL_MESSAGES',
-
 
1370
         'route' => 'inmail',
-
 
1371
         'class' => 'fa fa-envelope',
-
 
1372
         ],
-
 
1373
         [
-
 
1374
         'label' => 'LABEL_NOTIFICATIONS',
-
 
1375
         'route' => 'dashboard',
-
 
1376
         'class' => 'fa fa-bolt',
-
 
1377
         ], */
-
 
1378
    ];
-
 
1379
}