Skip to content
Snippets Groups Projects
Verified Commit e6df704f authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

Merge branch 'context-fix' into feature/deploy

parents f81c0ab1 e64a645d
No related branches found
No related tags found
1 merge request!119Feature/customer edit
Pipeline #4785 skipped
...@@ -43,7 +43,5 @@ script(data-default-context, type="application/ld+json") ...@@ -43,7 +43,5 @@ script(data-default-context, type="application/ld+json")
| "account": "http://happy-dev.fr/owl/#account", | "account": "http://happy-dev.fr/owl/#account",
| "jabberID": "foaf:jabberID", | "jabberID": "foaf:jabberID",
| "picture": "foaf:depiction", | "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" | "isAdmin": "http://happy-dev.fr/owl/#is_admin"
| } | }
...@@ -17,7 +17,7 @@ include templates/hd-user-avatar.pug ...@@ -17,7 +17,7 @@ include templates/hd-user-avatar.pug
details#user-controls.notLoggedIn details#user-controls.notLoggedIn
summary(tabindex='0' role='button') summary(tabindex='0' role='button')
sib-display#user-controls__profile( sib-display#user-controls__profile(
fields='firstName, account.picture' fields='first_name, account.picture'
widget-account.picture='hd-user-avatar' widget-account.picture='hd-user-avatar'
bind-user bind-user
) )
......
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
width: 45%; width: 45%;
} }
sib-display-value[name='firstName'] { sib-display-value[name='first_name'] {
@include icon('arrow-down'); @include icon('arrow-down');
align-items: center; align-items: center;
display: flex; display: flex;
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
div { div {
sib-display-value[name='firstName'] { sib-display-value[name='first_name'] {
@include icon('close'); @include icon('close');
&::before { &::before {
......
...@@ -75,7 +75,7 @@ sib-job-board { ...@@ -75,7 +75,7 @@ sib-job-board {
margin: 0.25em; margin: 0.25em;
} }
[name='author.firstName'] { [name='author.first_name'] {
color: $color-0-0-29; color: $color-0-0-29;
font-weight: 600; font-weight: 600;
} }
......
...@@ -10,7 +10,7 @@ sib-widget(name='hd-customer') ...@@ -10,7 +10,7 @@ sib-widget(name='hd-customer')
div div
h3 Contact: h3 Contact:
ul 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 li
span(class='link-color norm-weight mdi-email-outline') span(class='link-color norm-weight mdi-email-outline')
a(href='mailto:${await value.email}') ${await value.email} a(href='mailto:${await value.email}') ${await value.email}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment