Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,32 @@
<%_ if (experienceCollection && experienceCollection !== 'undefined') { -%>
<%_ for (const job of experienceCollection) { -%>
- #### <%- job.name %>
<%_ if (job.type && job.type !== 'undefined' ) { -%>
- **Tipo de Organización:** <%- job.type %>
<%_ } -%>
<%_ if (job.description && job.description !== 'undefined' ) { -%>
- **Descripción:** <%- job.description %>
<%_ } -%>
- **Roles dentro de la empresa:**
<%_ if (job.roles && job.roles !== 'undefined' ) { -%>
<%_ for (const role of job.roles) { -%>
<%_ if (role.name && role.name !== 'undefined' ) { -%>
- **<%= role.name %>**
<%_ } -%>
<%_ if (role.startDate && role.startDate !== 'undefined' && role.finishDate !== 'undefined' ) { -%>
- **Duración:** <%= role.startDate %> - <%= role.finishDate ?? 'Actualidad' %>
- **Retos:**
<%_ } else if ((!role.startDate || role.startDate === 'undefined') && role.finishDate && role.finishDate !== 'undefined' ) { -%>
- **Duración:** Finalizado en <%= role.finishDate %>
<%_ } else if ((!role.startDate || role.startDate === 'undefined') && role.finishDate !== 'undefined') { -%>
- **Duración:** <%= role.finishDate ?? 'Actualidad' %>
<%_ } -%>
<%_ if (role.challenges && role.challenges !== 'undefined' ) { -%>
- **Retos:**
<%_ for (const challenge of role.challenges) { -%>
<%_ if (challenge.description && challenge.description !== 'undefined') { -%>
- <%= challenge.description %>
<%_ } -%>
<%_ } -%>
<%_ } -%>
<%_ } -%>
<%_ } -%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
- **Fecha de inicio y finalización:** <%= study.startDate %> - <%= study.finishDate === "" ? "Actualidad" : study.finishDate %>
<%_ } -%>

<%_ if ( study?.institution ) { -%>
<%_ if ( study?.institution.name ) { -%>
- **Nombre de Institución:** <%= study.institution.name %>
<%_ } -%>

<%_ if ( study.institution.location?.region || study.institution.location?.country ) { -%>
- **Ubicación de la Institución:** <%= study.institution.location.region %>, <%= study.institution.location.country %>
- **Ubicación de la Institución:** <%= study.institution.location.region ? ( study.institution.location?.country ? study.institution.location.region + ", " : study.institution.location.region) : "" %><%= study.institution.location.country %>
<%_ } -%>
<%_ } -%>
<%_ } -%>
Expand Down