fix: picture is now at user.account.picture

This commit is contained in:
jblemee 2019-01-07 17:18:02 +01:00
parent 8e5371115f
commit a25a1cb218
7 changed files with 15 additions and 15 deletions

View File

@ -16,8 +16,8 @@ details
include page-notifications.pug include page-notifications.pug
sib-display#profile( sib-display#profile(
data-fields='first_name,profile.picture', data-fields='first_name,account.picture',
widget-profile.picture='sib-display-img', widget-account.picture='sib-display-img',
bind-user bind-user
) )

View File

@ -8,8 +8,8 @@
sib-display( sib-display(
id-suffix='team', id-suffix='team',
data-fields='user-thumb', data-fields='user-thumb',
set-user-thumb='profile.picture, first_name, last_name', set-user-thumb='account.picture, first_name, last_name',
widget-profile.picture='sib-display-img', widget-account.picture='sib-display-img',
bind-resources bind-resources
) )

View File

@ -7,8 +7,8 @@ div.grid-layer
data-fields='status, user-thumb, creation, title, description, skills, send', data-fields='status, user-thumb, creation, title, description, skills, send',
set-status='closingDate', set-status='closingDate',
widget-closingDate='hdapp-closing-date', widget-closingDate='hdapp-closing-date',
set-user-thumb='author.profile.picture, author.first_name, author.member.roles.ldp:contains.name', set-user-thumb='author.account.picture, author.first_name, author.member.roles.ldp:contains.name',
widget-author.profile.picture='sib-display-img', widget-author.account.picture='sib-display-img',
set-creation='creationDate', set-creation='creationDate',
widget-skills='sib-display-lookuplist', widget-skills='sib-display-lookuplist',
set-send='before-send-link, send-link', set-send='before-send-link, send-link',

View File

@ -1,8 +1,8 @@
.form-view .form-view
sib-form.block( 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', 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/`, range-skills=`${sdn}/skills/`,
bind-resources bind-resources
) )

View File

@ -2,7 +2,7 @@ template#chat-link
sib-link(next="member-chat") ${value} sib-link(next="member-chat") ${value}
sib-display#member-info( sib-display#member-info(
data-fields='available, header, name, pseudonym, infos, user.skills', 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-infos='city, country, user.roles, user.email, send, phone, foaf:homepage, ',
set-name='user.first_name, user.last_name', set-name='user.first_name, user.last_name',
set-pseudonym='before-pseudo, pseudo', set-pseudonym='before-pseudo, pseudo',
@ -10,7 +10,7 @@ sib-display#member-info(
value-send='SEND A MESSAGE', value-send='SEND A MESSAGE',
template-send='chat-link', template-send='chat-link',
widget-available='hdapp-available', widget-available='hdapp-available',
widget-picture='sib-display-img', widget-user.account.picture='sib-display-img',
widget-user='hdapp-userinfo', widget-user='hdapp-userinfo',
widget-phone='sib-display-tel', widget-phone='sib-display-tel',
widget-foaf:homepage='hdapp-hyperlink', widget-foaf:homepage='hdapp-hyperlink',

View File

@ -6,14 +6,14 @@ div.grid-layer
sib-display#profiles-list( sib-display#profiles-list(
data-src=`${sdn}/members/`, data-src=`${sdn}/members/`,
data-fields='header, infos, groups', data-fields='header, infos, groups',
set-header='picture, user, pseudonym, bio, send', set-header='user.account.picture, user, pseudonym, bio, send',
set-infos='cell, user.roles, user.email, phone, user.skills', set-infos='user.roles, user.email, phone, user.skills',
set-pseudonym='before-pseudo,pseudo', set-pseudonym='before-pseudo,pseudo',
value-before-pseudo='@', value-before-pseudo='@',
value-send='SEND A MESSAGE', value-send='SEND A MESSAGE',
template-send='chat-link', template-send='chat-link',
counter-template='${counter} members', counter-template='${counter} members',
widget-picture='sib-display-img', widget-user.account.picture='sib-display-img',
widget-roles='sib-display-lookuplist', widget-roles='sib-display-lookuplist',
widget-user='hdapp-userinfo', widget-user='hdapp-userinfo',
widget-user.skills='sib-display-lookuplist', widget-user.skills='sib-display-lookuplist',

View File

@ -29,8 +29,8 @@
div.containerH div.containerH
sib-display.members-list-condensed( sib-display.members-list-condensed(
id-suffix='team', id-suffix='team',
data-fields='profile.picture, profile.user, groups', data-fields='account.picture, profile.user, groups',
widget-profile.picture='sib-display-img', widget-account.picture='sib-display-img',
widget-profile.user='hdapp-userinfo', widget-profile.user='hdapp-userinfo',
widget-groups='sib-display-lookuplist', widget-groups='sib-display-lookuplist',
next='profile', next='profile',