diff --git a/src/views/circle/page-circle-notifications.pug b/src/views/circle/page-circle-notifications.pug index 39590a7c0636d3672ca60c3a7315e9f9d5b6099f..2ebc1ea614208b41237731def89cf34bde1c0e0c 100644 --- a/src/views/circle/page-circle-notifications.pug +++ b/src/views/circle/page-circle-notifications.pug @@ -1,7 +1,7 @@ solid-notifications-template(data-rdf-type='hd:circle') template .solid-notification__avatar - img(src="${await author['account.foaf:depiction'] || '/images/alien.svg'}" style=`max-height:${clientLogoHeight || '18px'}`) + img(src="${await author['account.foaf:depiction'] || '/images/alien.svg'}" style="${await author['account.foaf:depiction'] ? 'max-height:100%' : 'max-height:18px'}") .solid-notification__content .solid-notification__title ${await author.name} span.solid-notification__title__side dans diff --git a/src/views/user/page-user-notifications.pug b/src/views/user/page-user-notifications.pug index 7ae707b1db92ad2f79c10b90cc03e0ef643ecede..56fdd8f119b7ea7ac80a89f682fc030e6f2015ed 100644 --- a/src/views/user/page-user-notifications.pug +++ b/src/views/user/page-user-notifications.pug @@ -1,7 +1,7 @@ solid-notifications-template(data-rdf-type='foaf:user') template .solid-notification__avatar - img(src="${await author['account.foaf:depiction'] || '/images/alien.svg'}" style=`max-height:${clientLogoHeight || '18px'}`) + img(src="${await author['account.foaf:depiction'] || '/images/alien.svg'}" style="${await author['account.foaf:depiction'] ? 'max-height:100%' : 'max-height:18px'}") .solid-notification__content .solid-notification__title ${await author.name} span.solid-notification__title__side en privé