diff --git a/src/dependencies.pug b/src/dependencies.pug index ec43d249cc956232e46a2b7663431095588bc0cc..4f7189af600192ef9eed33a93066a0fbc46c2444 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -43,7 +43,5 @@ script(data-default-context, type="application/ld+json") | "account": "http://happy-dev.fr/owl/#account", | "jabberID": "foaf:jabberID", | "picture": "foaf:depiction", - | "firstName": "http://happy-dev.fr/owl/#first_name", - | "lastName": "http://happy-dev.fr/owl/#last_name", | "isAdmin": "http://happy-dev.fr/owl/#is_admin" | } diff --git a/src/header.pug b/src/header.pug index ef567557d4f758673a2db9985ca6ea714a790219..83e9cfb0564bf87782b2cd2e0d5543181aa861f0 100644 --- a/src/header.pug +++ b/src/header.pug @@ -17,7 +17,7 @@ include templates/hd-user-avatar.pug details#user-controls.notLoggedIn summary(tabindex='0' role='button') sib-display#user-controls__profile( - fields='firstName, account.picture' + fields='first_name, 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 b33026620533fe886380e48db3ea1e133a2a553d..093cfcd30674e33e755d85450e867f057cbb5914 100644 --- a/src/styles/base/header.scss +++ b/src/styles/base/header.scss @@ -169,7 +169,7 @@ width: 45%; } - sib-display-value[name='firstName'] { + sib-display-value[name='first_name'] { @include icon('arrow-down'); align-items: center; display: flex; @@ -241,7 +241,7 @@ div { - sib-display-value[name='firstName'] { + sib-display-value[name='first_name'] { @include icon('close'); &::before { diff --git a/src/styles/layout/job-offers/job-offers.scss b/src/styles/layout/job-offers/job-offers.scss index 172e863c38957cfa9fc2d27ce52f13d869763c79..64c41fef906d79162203a31142df0ad0f87e4b94 100644 --- a/src/styles/layout/job-offers/job-offers.scss +++ b/src/styles/layout/job-offers/job-offers.scss @@ -75,7 +75,7 @@ sib-job-board { margin: 0.25em; } - [name='author.firstName'] { + [name='author.first_name'] { color: $color-0-0-29; font-weight: 600; } diff --git a/src/templates/hd-customer.pug b/src/templates/hd-customer.pug index 813aa81ac56b09dec28b75a8b2cc23b2e3620781..04e891f245e08a7a0ad0785b211eb634b75a7f05 100644 --- a/src/templates/hd-customer.pug +++ b/src/templates/hd-customer.pug @@ -10,7 +10,7 @@ sib-widget(name='hd-customer') div h3 Contact: ul - li #[span(class='mdi-account-outline') ${await value.firstName} ${await value.lastName ? await value.lastName : ""}]${await value.role ? `, ${await value.role}` : ""} + li #[span(class='mdi-account-outline') ${await value.first_name} ${await value.last_name ? await value.last_name : ""}]${await value.role ? `, ${await value.role}` : ""} li span(class='link-color norm-weight mdi-email-outline') a(href='mailto:${await value.email}') ${await value.email}