| Línea 1... |
Línea 1... |
| 1 |
import React, { useEffect } from 'react'
|
1 |
import React, { useEffect } from 'react'
|
| 2 |
import { useDispatch } from 'react-redux'
|
2 |
import { useDispatch } from 'react-redux'
|
| 3 |
import { setIntlLabels } from '../../../../redux/intl/intl.action'
|
3 |
import { setIntlLabels } from '../../../../redux/intl/intl.action'
|
| Línea 4... |
Línea -... |
| 4 |
|
- |
|
| 5 |
import EmptySection from '../../../../shared/empty-section/EmptySection'
|
4 |
|
| 6 |
import SuggestWidget from '../../../../shared/helpers/my-groups-helper/SuggestWidget'
|
5 |
import SuggestWidget from '../../../../shared/helpers/my-groups-helper/SuggestWidget'
|
| 7 |
import ProfileInfo from '../../../components/ProfileInfo'
|
6 |
import ProfileInfo from '../../../components/ProfileInfo'
|
| 8 |
import Overview from '../../../components/overview/Overview'
|
7 |
import Overview from '../../../components/overview/Overview'
|
| 9 |
import Experiences from '../../../components/experiences/Experiences'
|
8 |
import Experiences from '../../../components/experiences/Experiences'
|
| 10 |
import Educations from '../../../components/educations/Educations'
|
9 |
import Educations from '../../../components/educations/Educations'
|
| 11 |
import Location from '../../../components/location/Location'
|
10 |
import Location from '../../../components/location/Location'
|
| 12 |
import Languages from '../../../components/languages/Languages'
|
11 |
import Languages from '../../../components/languages/Languages'
|
| - |
|
12 |
import Skills from '../../../components/skills/Skills'
|
| - |
|
13 |
import Aptitudes from '../../../components/aptitudes/Aptitudes'
|
| Línea 13... |
Línea 14... |
| 13 |
import Skills from '../../../components/skills/Skills'
|
14 |
import HobbiesAndInterests from '../../../components/hobbies-and-interests/HobbiesAndInterests'
|
| 14 |
|
15 |
|
| 15 |
const View = ({
|
16 |
const View = ({
|
| 16 |
userIdEncrypted,
|
17 |
userIdEncrypted,
|
| Línea 59... |
Línea 60... |
| 59 |
<Experiences experiences={userExperiences} months={months} />
|
60 |
<Experiences experiences={userExperiences} months={months} />
|
| 60 |
<Educations educations={userEducations} />
|
61 |
<Educations educations={userEducations} />
|
| 61 |
<Location address={formatted_address} />
|
62 |
<Location address={formatted_address} />
|
| 62 |
<Languages languages={userLanguages} />
|
63 |
<Languages languages={userLanguages} />
|
| 63 |
<Skills skills={userSkills} />
|
64 |
<Skills skills={userSkills} />
|
| 64 |
|
- |
|
| 65 |
<div className="user-profile-extended-ov">
|
- |
|
| 66 |
<h3>{labels.APTITUDES}</h3>
|
- |
|
| 67 |
{!userAptitudes.length ? (
|
65 |
<Aptitudes aptitudes={userAptitudes} />
|
| 68 |
<EmptySection align="left" message={labels.EMPTY} />
|
- |
|
| 69 |
) : (
|
- |
|
| 70 |
<ul id="list-skills">
|
- |
|
| 71 |
{userAptitudes.map(({ name, value }) => (
|
- |
|
| 72 |
<li key={value}>
|
- |
|
| 73 |
<a href="#" title="">
|
- |
|
| 74 |
{name}
|
- |
|
| 75 |
</a>
|
- |
|
| 76 |
</li>
|
- |
|
| 77 |
))}
|
- |
|
| 78 |
</ul>
|
- |
|
| 79 |
)}
|
- |
|
| 80 |
</div>
|
- |
|
| 81 |
<div className="user-profile-extended-ov">
|
- |
|
| 82 |
<h3>{labels.HOBBIES_AND_INTERESTS}</h3>
|
- |
|
| 83 |
{!userHobbiesAndInterests.length ? (
|
- |
|
| 84 |
<EmptySection align="left" message={labels.EMPTY} />
|
- |
|
| 85 |
) : (
|
- |
|
| 86 |
<ul id="list-skills">
|
- |
|
| 87 |
{userHobbiesAndInterests.map(({ name, value }) => (
|
66 |
<HobbiesAndInterests hobbiesAndInterest={userHobbiesAndInterests} />
|
| 88 |
<li key={value}>
|
- |
|
| 89 |
<a href="#" title="">
|
- |
|
| 90 |
{name}
|
- |
|
| 91 |
</a>
|
- |
|
| 92 |
</li>
|
- |
|
| 93 |
))}
|
- |
|
| 94 |
</ul>
|
- |
|
| 95 |
)}
|
- |
|
| 96 |
</div>
|
- |
|
| 97 |
</section>
|
67 |
</section>
|
| 98 |
<SuggestWidget
|
68 |
<SuggestWidget
|
| 99 |
url={`/helpers/people-viewed-profile/${profileId}`}
|
69 |
url={`/helpers/people-viewed-profile/${profileId}`}
|
| 100 |
btnLabelAccept="Ver perfil"
|
70 |
btnLabelAccept="Ver perfil"
|
| 101 |
title="Quien ha visitado esta perfil"
|
71 |
title="Quien ha visitado esta perfil"
|