Added more API examples

This commit is contained in:
2018-03-28 01:59:14 +02:00
parent c5de0c6d6f
commit bf6a28faca
9 changed files with 69 additions and 43 deletions

View File

@ -24,7 +24,7 @@ component AllNotifications(notifications []*arn.Notification)
a(href=notification.User().Link())= notification.User().Nick
component Notification(notification *arn.Notification)
a.notification(href=notification.Link, target="_blank", data-seen=notification.Seen)
a.notification(href=notification.Link, target="_blank", data-seen=notification.Seen, data-id=notification.ID)
.notification-icon
img.lazy(data-src=notification.Icon, alt=notification.Title)