bugfix: remove extra-context
This commit is contained in:
parent
dd6b2b9652
commit
74a453d169
@ -42,8 +42,5 @@ script(data-default-context, type="application/ld+json")
|
||||
| "author": "http://happy-dev.fr/owl/#author",
|
||||
| "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"
|
||||
| "picture": "foaf:depiction"
|
||||
| }
|
||||
|
@ -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
|
||||
)
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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}
|
||||
|
@ -50,9 +50,9 @@
|
||||
sib-display(
|
||||
data-src='${value}'
|
||||
fields='user'
|
||||
search-fields='isAdmin'
|
||||
search-value-isAdmin='true'
|
||||
search-widget-isAdmin='sib-form-hidden'
|
||||
search-fields='is_admin'
|
||||
search-value-is_admin='true'
|
||||
search-widget-is_admin='sib-form-hidden'
|
||||
widget-user='project-captain'
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user