Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4584 Rev 4586
Línea 79... Línea 79...
79
const skillsOptions = Object.entries($skillsOptions).map(([key, value]) => ({ value: key, name: value }))
79
const skillsOptions = Object.entries($skillsOptions).map(([key, value]) => ({ value: key, name: value }))
80
const languagesArray = Object.entries($userLanguages).map(([key, value]) => ({ value: key, name: value }))
80
const languagesArray = Object.entries($userLanguages).map(([key, value]) => ({ value: key, name: value }))
81
const languagesOptions = Object.entries($languagesOptions).map(([key, value]) => ({ value: key, name: value }))
81
const languagesOptions = Object.entries($languagesOptions).map(([key, value]) => ({ value: key, name: value }))
82
const aptitudesArray = Object.entries($userAptitudes).map(([key, value]) => ({ value: key, name: value }))
82
const aptitudesArray = Object.entries($userAptitudes).map(([key, value]) => ({ value: key, name: value }))
83
const aptitudesOptions = Object.entries($aptitudesOptions).map(([key, value]) => ({ value: key, name: value }))
83
const aptitudesOptions = Object.entries($aptitudesOptions).map(([key, value]) => ({ value: key, name: value }))
-
 
84
const userHobbiesAndInterests = Object.entries($userHobbiesAndInterests).map(([key, value]) => ({ value: key, name: value }))
-
 
85
const hobbiesAndInterestsOptions = Object.entries($hobbiesAndInterestsOptions).map(([key, value]) => ({ value: key, name: value }))
Línea 84... Línea 86...
84
 
86
 
85
const backendVars = {
87
const backendVars = {
86
  userIdEncrypted:"$user_uuid",
88
  userIdEncrypted:"$user_uuid",
87
  userProfileIdEncrypted:"$user_profile_uuid",
89
  userProfileIdEncrypted:"$user_profile_uuid",
Línea 99... Línea 101...
99
  months: JSON.parse('$monthsJson'),
101
  months: JSON.parse('$monthsJson'),
100
  formattedAddress: "$formatted_address",
102
  formattedAddress: "$formatted_address",
101
  userLanguages: languagesArray,
103
  userLanguages: languagesArray,
102
  userSkills: skillsArray,
104
  userSkills: skillsArray,
103
  userAptitudes: aptitudesArray,
105
  userAptitudes: aptitudesArray,
104
  userHobbiesAndInterests: JSON.parse('$userHobbiesAndInterests'),
106
  userHobbiesAndInterests: userHobbiesAndInterests,
105
  imageSizeCover: "$image_size_cover",
107
  imageSizeCover: "$image_size_cover",
106
  imageProfileCover: "$image_size_profile",
108
  imageProfileCover: "$image_size_profile",
107
  companySizesOptions: JSON.parse('$companySizesOptions'),
109
  companySizesOptions: JSON.parse('$companySizesOptions'),
108
  degreesOptions: JSON.parse('$degreesOptions'),
110
  degreesOptions: JSON.parse('$degreesOptions'),
109
  industriesOptions: JSON.parse('$industriesOptions'),
111
  industriesOptions: JSON.parse('$industriesOptions'),
110
  // industriesOptions: [],
112
  // industriesOptions: [],
111
  newIndustrisOptions: JSON.parse('$industriesOptions'),
113
  newIndustrisOptions: JSON.parse('$industriesOptions'),
112
  languagesOptions: languagesOptions,
114
  languagesOptions: languagesOptions,
113
  skillsOptions: skillsOptions,
115
  skillsOptions: skillsOptions,
114
  aptitudesOptions: aptitudesOptions,
116
  aptitudesOptions: aptitudesOptions,
115
  hobbiesAndInterestsOptions: JSON.parse('$hobbiesAndInterestsOptions'),
117
  hobbiesAndInterestsOptions: hobbiesAndInterestsOptions,
116
}
118
}
Línea 117... Línea 119...
117
 
119
 
118
JS;
120
JS;
119
$this->inlineScript()->appendScript($js);
121
$this->inlineScript()->appendScript($js);