feature: add poll notification template
This commit is contained in:
parent
daf0d06fb5
commit
a584761cca
@ -2,4 +2,5 @@
|
||||
|
||||
include notifications/message-circle.pug
|
||||
include notifications/message-project.pug
|
||||
include notifications/message-private.pug
|
||||
include notifications/message-private.pug
|
||||
include notifications/message-poll.pug
|
||||
|
7
src/views/partials/notifications/message-poll.pug
Normal file
7
src/views/partials/notifications/message-poll.pug
Normal file
@ -0,0 +1,7 @@
|
||||
solid-notifications-template(data-rdf-type='sib:poll')
|
||||
template
|
||||
.solid-notification__avatar
|
||||
| ${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}
|
||||
p.solid-notification__summary ${summary}
|
Loading…
Reference in New Issue
Block a user