Files
freeplanet/src/common/shared_vuejs.ts

34 lines
695 B
TypeScript
Raw Normal View History

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 ['_id', 'username', 'email', 'cell', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
}
}