Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4554 Rev 4573
Línea 73... Línea 73...
73
  }else{
73
  }else{
74
    setError("$error_msg");
74
    setError("$error_msg");
75
  }
75
  }
76
}
76
}
Línea -... Línea 77...
-
 
77
 
-
 
78
const skillsArray = Object.entries($userSkills).map(([key, value]) => ({ value: key, name: value }))
77
 
79
 
78
const backendVars = {
80
const backendVars = {
79
  userIdEncrypted:"$user_uuid",
81
  userIdEncrypted:"$user_uuid",
80
  userProfileIdEncrypted:"$user_profile_uuid",
82
  userProfileIdEncrypted:"$user_profile_uuid",
81
  cover:"$cover",
83
  cover:"$cover",
Línea 90... Línea 92...
90
  userExperiences: $userExperiences,
92
  userExperiences: $userExperiences,
91
  userEducations: JSON.parse('$userEducations'),
93
  userEducations: JSON.parse('$userEducations'),
92
  months: JSON.parse('$monthsJson'),
94
  months: JSON.parse('$monthsJson'),
93
  formattedAddress: "$formatted_address",
95
  formattedAddress: "$formatted_address",
94
  userLanguages: JSON.parse('$userLanguages'),
96
  userLanguages: JSON.parse('$userLanguages'),
95
  userSkills: JSON.parse('$userSkills'),
97
  userSkills: skillsArray,
96
  userAptitudes: JSON.parse('$userAptitudes'),
98
  userAptitudes: JSON.parse('$userAptitudes'),
97
  userHobbiesAndInterests: JSON.parse('$userHobbiesAndInterests'),
99
  userHobbiesAndInterests: JSON.parse('$userHobbiesAndInterests'),
98
  imageSizeCover: "$image_size_cover",
100
  imageSizeCover: "$image_size_cover",
99
  imageProfileCover: "$image_size_profile",
101
  imageProfileCover: "$image_size_profile",
100
  companySizesOptions: JSON.parse('$companySizesOptions'),
102
  companySizesOptions: JSON.parse('$companySizesOptions'),
Línea 104... Línea 106...
104
  newIndustrisOptions: JSON.parse('$industriesOptions'),
106
  newIndustrisOptions: JSON.parse('$industriesOptions'),
105
  languagesOptions: JSON.parse('$languagesOptions'),
107
  languagesOptions: JSON.parse('$languagesOptions'),
106
  skillsOptions: JSON.parse('$skillsOptions'),
108
  skillsOptions: JSON.parse('$skillsOptions'),
107
  aptitudesOptions: JSON.parse('$aptitudesOptions'),
109
  aptitudesOptions: JSON.parse('$aptitudesOptions'),
108
  hobbiesAndInterestsOptions: JSON.parse('$hobbiesAndInterestsOptions'),
110
  hobbiesAndInterestsOptions: JSON.parse('$hobbiesAndInterestsOptions'),
109
 
-
 
110
 
-
 
111
}
111
}
-
 
112
 
112
JS;
113
JS;
113
$this->inlineScript()->appendScript($js);
114
$this->inlineScript()->appendScript($js);
114
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
115
if ($currentNetwork->theme_id == Theme::THEME_LEADERSLINKED_LINKEDIN) {
115
  $this->headLink()->appendStylesheet('/react-bundles/profile/edit/main.css');
116
  $this->headLink()->appendStylesheet('/react-bundles/profile/edit/main.css');
116
  $this->inlineScript()->appendFile('/react-bundles/profile/edit/linkedinProfileEditBundle.js');
117
  $this->inlineScript()->appendFile('/react-bundles/profile/edit/linkedinProfileEditBundle.js');