This repository has been archived by the owner on May 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into endre-felt-for-tidspunkt-i-kurs
- Loading branch information
Showing
10 changed files
with
88 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import {Normaltekst, Undertekst} from 'nav-frontend-typografi'; | ||
import { isNullOrUndefined } from '../../../../utils'; | ||
import Informasjonsbolk from '../../../felles/informasjonsbolk'; | ||
import {PersonaliaEpost} from "../../../../rest/datatyper/personaliav2"; | ||
import {hentKilde} from "../../../../utils/konstanter"; | ||
|
||
function Epost(props: { epost: PersonaliaEpost }) { | ||
if (isNullOrUndefined(props.epost)) { | ||
return null; | ||
} | ||
|
||
const { epost, ...rest } = props; | ||
|
||
return ( | ||
<Informasjonsbolk header="Epost" {...rest} className="break-all"> | ||
<Normaltekst>{epost.epostAdresse}</Normaltekst> | ||
<Undertekst color='#645f5a'>Registrert {epost.epostSistOppdatert && epost.epostSistOppdatert} <span>{`av ${hentKilde(epost.master)}`}</span> </Undertekst> | ||
</Informasjonsbolk> | ||
); | ||
} | ||
|
||
export default Epost; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ const aktorId: AktorId = { | |
const cvOgJobbprofil: ArenaPerson = { | ||
sistEndret: '2019-01-15T07:52:35.456+01:00', | ||
sammendrag: | ||
'Jeg er en maritime executive som har master grad og bachlor grad. Har vart teknisk direktor i mange år og flyttet hjem til Norge hvor jeg søker arbeide innenfor then maritime sektor. Har gode referanser og variert seiling og onshore basert arbeid.', | ||
'Jeg er en maritime executive som har mastergrad og bachlorgrad. Har vært teknisk direktor i mange år og flyttet hjem til Norge hvor jeg søker arbeide innenfor then maritime sektor. Har gode referanser og variert seiling og onshore basert arbeid.', | ||
arbeidserfaring: [ | ||
{ | ||
tittel: 'Maskinsjef', | ||
|
@@ -395,9 +395,9 @@ const personaliav2: PersonaliaV2Info = { | |
fodselsdato: '2016-04-17', | ||
dodsdato: null, | ||
harSammeBosted: true, | ||
gradering: Gradering.UGRADERT, | ||
gradering: Gradering.FORTROLIG, | ||
erEgenAnsatt: false, | ||
harVeilederTilgang: true, | ||
harVeilederTilgang: false, | ||
kjonn: 'M' | ||
}, | ||
{ | ||
|
@@ -438,15 +438,26 @@ const personaliav2: PersonaliaV2Info = { | |
{ | ||
prioritet: '1', | ||
telefonNr: '+4633333333', | ||
master: 'FREG' | ||
registrertDato: '10.07.2008', | ||
master: 'Freg' | ||
}, | ||
{ | ||
prioritet: '2', | ||
telefonNr: '+4822222222', | ||
registrertDato: '10.04.2010', | ||
master: 'KRR' | ||
} | ||
], | ||
epost: '[email protected]', | ||
}, | ||
{ | ||
prioritet: '3', | ||
telefonNr: '+4822222444', | ||
registrertDato: null, | ||
master: 'PDL' | ||
}], | ||
epost: { | ||
epostAdresse:'[email protected]', | ||
epostSistOppdatert:'10.04.2010', | ||
master:'KRR' | ||
}, | ||
statsborgerskap: 'Norge', | ||
sivilstand: { | ||
sivilstand: 'Gift', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters