Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1199 Rev 1814
Línea 9... Línea 9...
9
import ExperienceCard from '../../components/linkedin/profile/cards/ExperienceCard'
9
import ExperienceCard from '../../components/linkedin/profile/cards/ExperienceCard'
10
import EducationCard from '../../components/linkedin/profile/cards/EducationCard'
10
import EducationCard from '../../components/linkedin/profile/cards/EducationCard'
11
import EmptySection from '../../components/UI/EmptySection'
11
import EmptySection from '../../components/UI/EmptySection'
12
import TagsList from '../../components/UI/TagsList'
12
import TagsList from '../../components/UI/TagsList'
Línea 13... Línea -...
13
 
-
 
14
import ExperienceModal from '../../components/experiences/ExperienceModal'
13
 
15
import EducationModal from '../../components/educations/EducationModal'
14
import EducationModal from '../../components/educations/EducationModal'
16
import SkillsModal from '../../components/skills/SkillsModal'
15
import SkillsModal from '../../components/skills/SkillsModal'
17
import LanguagesModal from '../../components/languages/LanguagesModal'
16
import LanguagesModal from '../../components/languages/LanguagesModal'
18
import AptitudesModal from '../../components/aptitudes/AptitudesModal'
17
import AptitudesModal from '../../components/aptitudes/AptitudesModal'
Línea 54... Línea 53...
54
    setIsEdit(false)
53
    setIsEdit(false)
55
    setModalShow(null)
54
    setModalShow(null)
56
  }
55
  }
Línea 57... Línea 56...
57
 
56
 
58
  const renderModal = {
-
 
59
    Experiencia: (
-
 
60
      <ExperienceModal
-
 
61
        show={modalShow === 'Experiencia'}
-
 
62
        url={postUrl}
-
 
63
        isEdit={isEdit}
-
 
64
        onClose={closeModal}
-
 
65
        onComplete={(newExperiences) => setExperiences(newExperiences)}
-
 
66
      />
-
 
67
    ),
57
  const renderModal = {
68
    Educación: (
58
    Educación: (
69
      <EducationModal
59
      <EducationModal
70
        show={modalShow === 'Educación'}
60
        show={modalShow === 'Educación'}
71
        postUrl={postUrl}
61
        postUrl={postUrl}
Línea 170... Línea 160...
170
              uuid={profile.user_uuid}
160
              uuid={profile.user_uuid}
171
              image={profile.image}
161
              image={profile.image}
172
              cover={profile.cover}
162
              cover={profile.cover}
173
            />
163
            />
Línea 174... Línea -...
174
 
-
 
175
            <ProfileWidget
-
 
176
              title={labels.experience}
-
 
177
              onEdit={() => setIsEdit(!isEdit)}
-
 
178
              onAdd={handleAdd}
-
 
179
              addUrl={`/profile/my-profiles/experience/${uuid}/operation/add`}
-
 
180
            >
-
 
181
              {experiences.length ? (
164
 
182
                experiences.map((experience, index) => (
-
 
183
                  <ExperienceCard
-
 
184
                    key={index}
-
 
185
                    isEdit={isEdit}
-
 
186
                    experience={experience}
-
 
187
                    onEdit={handleEdit}
-
 
188
                    onDelete={(newExperiences) =>
-
 
189
                      setExperiences(newExperiences)
-
 
190
                    }
-
 
191
                  />
-
 
192
                ))
-
 
193
              ) : (
-
 
194
                <EmptySection align='left' message={labels.empty} />
-
 
195
              )}
-
 
Línea 196... Línea 165...
196
            </ProfileWidget>
165
            <ExperienceCard experiences={experiences} uuid={uuid} />
197
 
166
 
198
            <ProfileWidget
167
            <ProfileWidget
199
              title={labels.education}
168
              title={labels.education}