diff --git a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.html b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.html index e62051c..3be77c0 100644 --- a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.html +++ b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.html @@ -1,54 +1,188 @@
- +
Tillbaka till deltagarlistan -

{{ detailedParticipantData.fullName }}

+

Deltagarinformation

-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusamus accusantium sit, reprehenderit, esse suscipit - quis similique harum est eum eveniet aspernatur delectus magni asperiores porro aliquam voluptate! Architecto, - perferendis commodi. -

- -
-
-

Personuppgifter

- -
-
Namn
-
{{ detailedParticipantData.fullName }}
-
Personnummer
-
- -
-
- -

Särskilda behov

-

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Minus, voluptatum quibusdam repellendus animi, - quidem, commodi quos porro quia incidunt saepe veritatis voluptatem. Cupiditate, accusamus atque! Illum, - quisquam esse? Omnis, quasi! -

-
- -
-

Om tjänsten

-
- -
-

Matchningsuppgifter

-
-
+ + + +
+
+

Personuppgifter

+
+
Namn:
+
{{ detailedParticipantData.fullName }}
+
Personnummer:
+
+ +
+
Folkbokföringsadress:
+
+ {{ detailedParticipantData.address.street }} + ' ' + {{ detailedParticipantData.address.number }}, + {{ detailedParticipantData.address.postalcode }} + ' ' + {{ detailedParticipantData.address.city }} +
+
Postadress:
+
+ {{ detailedParticipantData.postalAddress.street }} + ' ' + {{ + detailedParticipantData.postalAddress.number }}, {{ detailedParticipantData.postalAddress.postalcode + }} + ' ' + {{ detailedParticipantData.postalAddress.city }} +
+
Telefon:
+
+
{{ detailedParticipantData.phoneMobile }}
+
Mailadress:
+
+
{{ detailedParticipantData.email }}
+
+
+
+

Särskilda behov

+
+
Funktionsnedsättningar
+ + +
+ {{ disability.name }}
+ {{ disability.description }} +
+
+
+
+
Tolk
+
+ Ja ( {{ detailedParticipantData.interpretorLanguage }} ) +
+
Språkstöd
+
+ Ja ( {{ detailedParticipantData.supportLanguage }} ) +
+
+
+
+

Om tjänsten

+
+
Tillhörande tjänst
+
{{ detailedParticipantData.service }}
+
Datum för tjänstens början
+
+ {{ detailedParticipantData.startDate | localDate }} +
+
Datum för tjänstens slut
+
+ {{ detailedParticipantData.endDate | localDate }} +
+
Deltagandefrekvens
+
+ {{ detailedParticipantData.service.frequency }} +
+
Utförande verksamhet
+
+ {{ detailedParticipantData.service.organisation }} +
+
Utförande adress
+
+ {{ detailedParticipantData.service.organisation.adress }} +
+
Genomförandereferens
+
+ {{ detailedParticipantData.service.reference }} +
+
+
+
+
+
+ + +
+
+

Arbetslivserfarenhet

+
+
Arbetsgivare
+ + +
+ + {{ workExperience.dateFrom | localDate }} - {{ workExperience.dateTo | localDate }}
+ {{ workExperience.company }}
+ {{ workExperience.direction }}
+ {{ workExperience.description }} +
+
+
+
+ + + {{ accordionExpanded ? 'Dölj' : 'Visa' }} fler arbetsgivare + + +
+
+ + {{ workExperience.dateFrom | localDate }} - {{ workExperience.dateTo | localDate }}
+ {{ workExperience.company }}
+ {{ workExperience.direction }}
+ {{ workExperience.description }} +
+
+
+
+
+
+
+

Utbildning

+
+
Utbildningar
+ + +
+ {{ education.dateFrom | localDate }} - {{ education.dateTo | localDate }}
+ {{ education.organizer }}
+ {{ education.direction }}
+ {{ education.description }}
+
+
+
+
+
Högsta utbildningsnivå
+
+ {{ detailedParticipantData.highestEduction }} +
+
+
+
Körkortsinformation
+
Innehar körkort ( {{ detailedParticipantData.driversLicenses ? 'Ja' : 'Nej' }} )
+
+ + Körkortsklasser ( {{ detailedParticipantData.driversLicenses.join(', ') }} )
+ Tillgång till bil ( {{ detailedParticipantData.accessToCar ? 'Ja' : 'Nej' }} ) +
+
+
+
+
+
+
Tillbaka till deltagarlistan
- +
@@ -60,4 +194,9 @@ Info saknas + +
+ Nej +
+
diff --git a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.scss b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.scss index 5181069..a651369 100644 --- a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.scss +++ b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.scss @@ -1,39 +1,45 @@ @import 'variables/gutters'; .participant-card { - &__contents { + &__tab-contents { display: flex; - flex-direction: column; gap: $digi--layout--gutter--xl $digi--layout--gutter--l; + margin-left: $digi--layout--gutter--l; h2 { - margin-top: 0; + margin-top: $digi--layout--gutter--l; } } - &__column { - width: 100%; + &__tab-column { + flex: 1; max-width: var(--digi--typography--text--max-width); } + &__tab-column-education { + flex: 2; + } + dl { - display: grid; - grid-template-columns: auto 1fr; - gap: 0.5rem 2rem; + display: block; } dt, dd { margin: 0; + padding-bottom: var(--digi--layout--gutter--xs); } dt { - grid-column: 1; font-weight: var(--digi--typography--font-weight--semibold); } - dd { - grid-column: 2; + &__employers-expansion { + width: 70%; + + &__trigger-text { + font-weight: var(--digi--typography--font-weight--bold); + } } &__header, diff --git a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.ts b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.ts index 0b4bc05..c6c6bed 100644 --- a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.ts +++ b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.component.ts @@ -20,6 +20,11 @@ export class ParticipantCardComponent { switchMap(participantId => this.participantsService.fetchDetailedParticipantData$(participantId)) ); iconType = IconType; + accordionExpanded = false; constructor(private activatedRoute: ActivatedRoute, private participantsService: ParticipantsService) {} + + toggleAccordionExpanded(): void { + this.accordionExpanded = !this.accordionExpanded; + } } diff --git a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.module.ts b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.module.ts index 8a08a1f..c4c5067 100644 --- a/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.module.ts +++ b/apps/dafa-web/src/app/pages/participants/pages/participant-card/participant-card.module.ts @@ -7,6 +7,11 @@ import { IconModule } from '@dafa-shared/components/icon/icon.module'; import { LayoutModule } from '@dafa-shared/components/layout/layout.module'; import { ParticipantCardComponent } from './participant-card.component'; import { HideTextModule } from '@dafa-shared/components/hide-text/hide-text.module'; +import { DigiNgNavigationTabsModule } from '@af/digi-ng/_navigation/navigation-tabs'; +import { DigiNgNavigationTabModule } from '@af/digi-ng/_navigation/navigation-tab'; +import { DigiNgLayoutExpansionPanelModule } from '@af/digi-ng/_layout/layout-expansion-panel'; +import { DigiNgTypographyBaseModule } from '@af/digi-ng/_typography/typography-base'; +import { LocalDatePipeModule } from '@dafa-shared/pipes/local-date/local-date.module'; @NgModule({ schemas: [CUSTOM_ELEMENTS_SCHEMA], @@ -19,6 +24,11 @@ import { HideTextModule } from '@dafa-shared/components/hide-text/hide-text.modu IconModule, BackLinkModule, HideTextModule, + DigiNgNavigationTabsModule, + DigiNgNavigationTabModule, + DigiNgLayoutExpansionPanelModule, + DigiNgTypographyBaseModule, + LocalDatePipeModule, ], exports: [ParticipantCardComponent], })