Friends, search
This commit is contained in:
@@ -8,10 +8,15 @@ export const costanti = {
|
||||
CONFIG_ID_STATE_CONN: '2',
|
||||
CONFIG_ID_SHOW_TYPE_TODOS: '3',
|
||||
|
||||
SHOW_USERINFO: 1,
|
||||
|
||||
DIR_UPLOAD: 'upload/', // upload/
|
||||
|
||||
FRIENDS: 1,
|
||||
ASK_TRUST: 2,
|
||||
TRUSTED: 3,
|
||||
REEJECTED: 4,
|
||||
FIND_PEOPLE: 10,
|
||||
|
||||
FILTER_TUTTI: -100,
|
||||
|
||||
|
||||
@@ -384,6 +384,19 @@ export const colSubSkills = [
|
||||
AddCol(DeleteRec),
|
||||
]
|
||||
|
||||
export const colmyUserPeople = [
|
||||
// AddCol({ name: '_id', label_trans: 'reg.id' }),
|
||||
AddCol({ name: 'username', label_trans: 'reg.username_short' }),
|
||||
AddCol({ name: 'name', label_trans: 'reg.name' }),
|
||||
AddCol({
|
||||
name: 'profile.img', field: 'profile', subfield: 'img', label_trans: 'reg.img', sortable: false,
|
||||
}),
|
||||
// AddCol({ name: 'sospeso', label_trans: 'reg.sospeso', fieldtype: costanti.FieldType.boolean }),
|
||||
// AddCol({ name: 'deleted', label_trans: 'reg.deleted', fieldtype: costanti.FieldType.boolean }),
|
||||
]
|
||||
|
||||
|
||||
|
||||
export const colmySkills = [
|
||||
/*AddCol({
|
||||
name: 'userId', label_trans: 'order.users', fieldtype: costanti.FieldType.string, jointable: 'users',
|
||||
|
||||
@@ -3368,7 +3368,7 @@ export const tools = {
|
||||
return mystr.replace(/\//g, '-')
|
||||
},
|
||||
geturlrelativeprofile() {
|
||||
return 'upload/profile'
|
||||
return costanti.DIR_UPLOAD + 'profile'
|
||||
},
|
||||
getvers() {
|
||||
return process.env.APP_VERSION
|
||||
|
||||
Reference in New Issue
Block a user