external context instead of _ in name

This commit is contained in:
Calum Mackervoy 2019-12-04 16:11:05 +01:00
parent fa4a1f0b0e
commit ef256c70f4
3 changed files with 5 additions and 3 deletions

View File

@ -4,5 +4,7 @@
"object": "http://happy-dev.fr/owl/#object", "object": "http://happy-dev.fr/owl/#object",
"author": "http://happy-dev.fr/owl/#author", "author": "http://happy-dev.fr/owl/#author",
"account": "http://happy-dev.fr/owl/#account", "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"
} }

View File

@ -17,7 +17,7 @@ include templates/hd-user-avatar.pug
details#user-controls details#user-controls
summary(tabindex='0' role='button') summary(tabindex='0' role='button')
sib-display#user-controls__profile( sib-display#user-controls__profile(
fields='first_name, account.picture' fields='firstName, account.picture'
widget-account.picture='hd-user-avatar' widget-account.picture='hd-user-avatar'
bind-user bind-user
) )

View File

@ -157,7 +157,7 @@
width: 45%; width: 45%;
} }
sib-display-value[name='first_name'] { sib-display-value[name='firstName'] {
@include icon('arrow-down'); @include icon('arrow-down');
align-items: center; align-items: center;
display: flex; display: flex;