34 lines
666 B
TypeScript
34 lines
666 B
TypeScript
export const shared_consts = {
|
|
|
|
Permissions: {
|
|
Admin: {
|
|
value: 1,
|
|
label: 'pages.Admin',
|
|
icon: 'fas fa-user-shield',
|
|
color: 'red'
|
|
},
|
|
Manager: {
|
|
value: 2,
|
|
label: 'otherpages.manage.manager',
|
|
icon: 'fas fa-tools',
|
|
color: 'green'
|
|
},
|
|
Teacher: {
|
|
value: 4,
|
|
label: 'event.teacher',
|
|
icon: 'fas fa-user-tie',
|
|
color: 'blue'
|
|
}
|
|
},
|
|
|
|
MessageOptions: {
|
|
Notify_ByEmail: 2,
|
|
Notify_ByPushNotification: 4
|
|
},
|
|
|
|
fieldsUserToChange() {
|
|
return ['username', 'email', 'cell', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'img', 'ipaddr', 'lasttimeonline']
|
|
}
|
|
|
|
}
|