feature: notification - dynamic icons added

This commit is contained in:
gaelle morin 2020-07-10 11:43:21 +02:00
parent 218e74955b
commit da4c1cf69c
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 7 additions and 1 deletions

View File

@ -207,6 +207,10 @@ solid-notifications {
.solid-notification__title__side {
font-weight: normal;
}
.solid-notification__title__icon {
font-family: simple-line-icons;
}
}
.solid-notification__summary {

View File

@ -4,5 +4,7 @@ solid-notifications-template(data-rdf-type='hd:circle')
img(src="${await author['account.foaf:depiction']}")
.solid-notification__content
.solid-notification__title ${await author.name}
span.solid-notification__title__side dans #${await object.name}
span.solid-notification__title__side dans
span.solid-notification__title__icon ${(await object.status) == 'Public' ? '#' : ''}
| ${await object.name}
p.solid-notification__summary ${summary}