fix: avatar -> picture

This commit is contained in:
jblemee 2018-12-10 17:30:56 +01:00
parent fc9b1f2f99
commit 0f04796f62
6 changed files with 14 additions and 22 deletions

View File

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

View File

@ -6,8 +6,8 @@ div.grid-layer
data-src=`${sdn}/job-offers/`,
data-fields='date, user-thumb, title, description, roles, skills',
widget-skills='sib-display-lookuplist',
set-user-thumb='author.member.avatar, author.first_name, author.last_name, author.groups',
widget-author.member.avatar='sib-display-img',
set-user-thumb='author.profile.picture, author.first_name, author.last_name, author.groups',
widget-author.profile.picture='sib-display-img',
set-date='closingDate, creationDate',
set-creation='creationDate',
widget-closingDate='hdapp-closing-date',

View File

@ -1,14 +1,6 @@
.form-view
label.d-none(for='avatar-input')
img#avatar-preview(src='', style='width: 100%;')
input#avatar-input.d-none(
type='file',
accept='image/*',
name='avatar',
value='',
)
sib-form.block(
data-fields='user, avatar, bio, cell, jabberID, number, pseudo, skills, website',
data-fields='user, picture, bio, cell, jabberID, number, pseudo, skills, website',
widget-user='hdapp-usereditinfo',
range-cell=`${sdn}/cells/`, widget-skills='sib-form-multiple-dropdown',
range-skills=`${sdn}/skills/`,

View File

@ -2,7 +2,7 @@ template#chat-link
sib-link(next="member-chat") ${value}
sib-display#member-info(
data-fields='available, header, name, pseudonym, infos, skills',
set-header='avatar',
set-header='picture',
set-infos='cell, roles,send, user.email, number, 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-avatar='sib-display-img',
widget-picture='sib-display-img',
widget-user='hdapp-userinfo',
widget-cell='hdapp-usercell',
widget-number='sib-display-tel',

View File

@ -8,7 +8,7 @@ div.grid-layer
sib-display#profiles-list(
data-src=`${sdn}/members/`,
data-fields='header, infos, group, role, more',
set-header='avatar, user, pseudonym, bio, send',
set-header='picture, user, pseudonym, bio, send',
set-infos='cell, roles, user.email, foaf:homepage, skills',
set-pseudonym='before-pseudo,pseudo'
label-skills='skill',
@ -17,7 +17,7 @@ div.grid-layer
template-more='hdapp-link-more',
value-send='SEND A MESSAGE',
template-send='chat-link',
widget-avatar='sib-display-img',
widget-picture='sib-display-img',
widget-user='hdapp-userinfo',
widget-foaf:hompage='hdapp-hyperlink',
widget-cell='hdapp-usercell',

View File

@ -29,10 +29,10 @@
div.containerH
sib-display.members-list-condensed(
id-suffix='team',
data-fields='member.avatar, member.user, member.roles',
widget-member.avatar='sib-display-img',
widget-member.user='hdapp-userinfo',
widget-member.roles='sib-display-lookuplist',
next='member',
data-fields='profile.picture, profile.user, groups',
widget-profile.picture='sib-display-img',
widget-profile.user='hdapp-userinfo',
widget-groups='sib-display-lookuplist',
next='profile',
bind-resources,
)