fix: picture is now at user.account.picture
This commit is contained in:
parent
8e5371115f
commit
a25a1cb218
@ -16,8 +16,8 @@ details
|
||||
include page-notifications.pug
|
||||
|
||||
sib-display#profile(
|
||||
data-fields='first_name,profile.picture',
|
||||
widget-profile.picture='sib-display-img',
|
||||
data-fields='first_name,account.picture',
|
||||
widget-account.picture='sib-display-img',
|
||||
bind-user
|
||||
)
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
sib-display(
|
||||
id-suffix='team',
|
||||
data-fields='user-thumb',
|
||||
set-user-thumb='profile.picture, first_name, last_name',
|
||||
widget-profile.picture='sib-display-img',
|
||||
set-user-thumb='account.picture, first_name, last_name',
|
||||
widget-account.picture='sib-display-img',
|
||||
bind-resources
|
||||
)
|
||||
|
||||
|
@ -7,8 +7,8 @@ div.grid-layer
|
||||
data-fields='status, user-thumb, creation, title, description, skills, send',
|
||||
set-status='closingDate',
|
||||
widget-closingDate='hdapp-closing-date',
|
||||
set-user-thumb='author.profile.picture, author.first_name, author.member.roles.ldp:contains.name',
|
||||
widget-author.profile.picture='sib-display-img',
|
||||
set-user-thumb='author.account.picture, author.first_name, author.member.roles.ldp:contains.name',
|
||||
widget-author.account.picture='sib-display-img',
|
||||
set-creation='creationDate',
|
||||
widget-skills='sib-display-lookuplist',
|
||||
set-send='before-send-link, send-link',
|
||||
|
@ -1,8 +1,8 @@
|
||||
.form-view
|
||||
sib-form.block(
|
||||
data-fields='user, picture, bio, cell, jabberID, phone, pseudo, skills, website',
|
||||
data-fields='user, picture, bio, groups, jabberID, phone, pseudo, skills, website',
|
||||
widget-user='hdapp-usereditinfo',
|
||||
range-cell=`${sdn}/cells/`, widget-skills='sib-form-multiple-dropdown',
|
||||
range-groups=`${sdn}/groups/`, widget-skills='sib-form-multiple-dropdown',
|
||||
range-skills=`${sdn}/skills/`,
|
||||
bind-resources
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ template#chat-link
|
||||
sib-link(next="member-chat") ${value}
|
||||
sib-display#member-info(
|
||||
data-fields='available, header, name, pseudonym, infos, user.skills',
|
||||
set-header='picture',
|
||||
set-header='user.account.picture',
|
||||
set-infos='city, country, user.roles, user.email, send, phone, foaf:homepage, ',
|
||||
set-name='user.first_name, user.last_name',
|
||||
set-pseudonym='before-pseudo, pseudo',
|
||||
@ -10,7 +10,7 @@ sib-display#member-info(
|
||||
value-send='SEND A MESSAGE',
|
||||
template-send='chat-link',
|
||||
widget-available='hdapp-available',
|
||||
widget-picture='sib-display-img',
|
||||
widget-user.account.picture='sib-display-img',
|
||||
widget-user='hdapp-userinfo',
|
||||
widget-phone='sib-display-tel',
|
||||
widget-foaf:homepage='hdapp-hyperlink',
|
||||
|
@ -6,14 +6,14 @@ div.grid-layer
|
||||
sib-display#profiles-list(
|
||||
data-src=`${sdn}/members/`,
|
||||
data-fields='header, infos, groups',
|
||||
set-header='picture, user, pseudonym, bio, send',
|
||||
set-infos='cell, user.roles, user.email, phone, user.skills',
|
||||
set-header='user.account.picture, user, pseudonym, bio, send',
|
||||
set-infos='user.roles, user.email, phone, user.skills',
|
||||
set-pseudonym='before-pseudo,pseudo',
|
||||
value-before-pseudo='@',
|
||||
value-send='SEND A MESSAGE',
|
||||
template-send='chat-link',
|
||||
counter-template='${counter} members',
|
||||
widget-picture='sib-display-img',
|
||||
widget-user.account.picture='sib-display-img',
|
||||
widget-roles='sib-display-lookuplist',
|
||||
widget-user='hdapp-userinfo',
|
||||
widget-user.skills='sib-display-lookuplist',
|
||||
|
@ -29,8 +29,8 @@
|
||||
div.containerH
|
||||
sib-display.members-list-condensed(
|
||||
id-suffix='team',
|
||||
data-fields='profile.picture, profile.user, groups',
|
||||
widget-profile.picture='sib-display-img',
|
||||
data-fields='account.picture, profile.user, groups',
|
||||
widget-account.picture='sib-display-img',
|
||||
widget-profile.user='hdapp-userinfo',
|
||||
widget-groups='sib-display-lookuplist',
|
||||
next='profile',
|
||||
|
Loading…
Reference in New Issue
Block a user