Added notifications overview

This commit is contained in:
2018-02-27 15:27:16 +01:00
parent d5b01763bb
commit c170bef1ea
4 changed files with 63 additions and 2 deletions

View File

@ -0,0 +1,16 @@
component Notifications(notifications []*arn.Notification, user *arn.User)
h1 Notifications
.notifications
each notification in notifications
Notification(notification)
component Notification(notification *arn.Notification)
.notification
.notification-icon
img.lazy(data-src=notification.Icon, alt=notification.Title)
.notification-info
h3= notification.Title
p= notification.Message
.notification-date.utc-date(data-date=notification.Created)