From f3890f49e00bfa7b5a739603362d0e115f2506f1 Mon Sep 17 00:00:00 2001 From: Calum Mackervoy Date: Fri, 20 Dec 2019 23:22:59 +0000 Subject: [PATCH] avatar displayed correctly --- src/styles/layout/circle/circle-profile.scss | 2 +- src/templates/hd-circle-team.pug | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/layout/circle/circle-profile.scss b/src/styles/layout/circle/circle-profile.scss index cba66e5..96e50e5 100644 --- a/src/styles/layout/circle/circle-profile.scss +++ b/src/styles/layout/circle/circle-profile.scss @@ -23,7 +23,7 @@ grid-template-columns: 7vh auto; grid-template-rows: repeat(2, 5.2vh); - >[name='account.picture'] { + >[name='user.account.picture'] { align-items: center; align-self: center; background-color: $color-213-20-91; diff --git a/src/templates/hd-circle-team.pug b/src/templates/hd-circle-team.pug index fa64815..ff90ce0 100644 --- a/src/templates/hd-circle-team.pug +++ b/src/templates/hd-circle-team.pug @@ -4,14 +4,14 @@ sib-widget(name='circle-team-template') template sib-display( data-src='${await value}' - fields='account.picture, sup(user.name, is_admin, user.groups), sub(user.profile.city)' + fields='user.account.picture, sup(user.name, is_admin, user.groups), sub(user.profile.city)' class-user.name='user-name' class-is_admin='tag-admin' class-user.groups='tag-group' class-user.profile.city='city' - widget-account.picture='hd-user-avatar' + widget-user.account.picture='hd-user-avatar' widget-is_admin='hd-user-admin' widget-user.groups='hd-user-groups'