hubl/src/views/partials/notifications/message-circle.pug

12 lines
638 B
Plaintext
Raw Normal View History

solid-notifications-template(data-rdf-type='hd:circle')
template
.solid-notification__avatar
2021-02-12 13:50:56 +00:00
| ${await author['account.picture'] ? `<img src="${await author['account.picture']}" style="max-width:100%; max-height: 100%;" />` : `<img src="/images/alien.webp" />`}
.solid-notification__content
.solid-notification__title ${await author.name}
2020-10-27 13:51:05 +00:00
span.solid-notification__title__side
span(data-trans='notification.circle.in')
span.solid-notification__title__icon ${(await object.status) == 'Public' ? '#' : ''}
| ${await object.name}
p.solid-notification__summary ${summary}