From e7d24cfa8018a45dbd4ad27ef7a4981035c98ece Mon Sep 17 00:00:00 2001 From: r Date: Sat, 16 Jan 2021 09:26:59 +0000 Subject: [PATCH] Add fallback notification --- templates/notification.tmpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 5563425..61353f5 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -97,6 +97,20 @@ {{template "status" (WithContext .Status $.Ctx)}} + + {{else}} +
+ + avatar + + + @{{.Account.Acct}} + + {{.Type}} - + + +
+ {{if .Status}}{{template "status" (WithContext .Status $.Ctx)}}{{end}} {{end}} {{end}}