diff --git a/src/context.jsonld b/src/context.jsonld index 6ffc880965001d5a11c1da554262b1476f2e3bde..46a6a866ed01aebf35c925b4abb7cdbb391c9a3b 100644 --- a/src/context.jsonld +++ b/src/context.jsonld @@ -4,5 +4,7 @@ "object": "http://happy-dev.fr/owl/#object", "author": "http://happy-dev.fr/owl/#author", "account": "http://happy-dev.fr/owl/#account", - "jabberID": "foaf:jabberID" + "jabberID": "foaf:jabberID", + "firstName": "http://happy-dev.fr/owl/#first_name", + "lastName": "http://happy-dev.fr/owl/#last_name" } diff --git a/src/header.pug b/src/header.pug index 9347750984d009ff3da7a22dd06052daa7ac32e3..9edcdb0e12782ddc595a7f9029d0d362a7a7cd95 100644 --- a/src/header.pug +++ b/src/header.pug @@ -17,7 +17,7 @@ include templates/hd-user-avatar.pug details#user-controls summary(tabindex='0' role='button') sib-display#user-controls__profile( - fields='first_name, account.picture' + fields='firstName, account.picture' widget-account.picture='hd-user-avatar' bind-user ) diff --git a/src/styles/base/header.scss b/src/styles/base/header.scss index 894ae901095ceaca703f1b48046a0e3eb0376bc7..51cc2afd24f3c6492a833b6187ce138364cb0d7d 100644 --- a/src/styles/base/header.scss +++ b/src/styles/base/header.scss @@ -157,7 +157,7 @@ width: 45%; } - sib-display-value[name='first_name'] { + sib-display-value[name='firstName'] { @include icon('arrow-down'); align-items: center; display: flex;