From f93fe3276607039a5d09fa83b17c8f353b19ce86 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 29 Jan 2020 18:14:27 +0000 Subject: Update notification layout --- templates/notification.tmpl | 53 +++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 28 deletions(-) (limited to 'templates/notification.tmpl') diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 7d0e67c..cc7a4a1 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -17,6 +17,9 @@ {{EmojiFilter .Account.DisplayName .Account.Emojis}} followed followed you + + - +
@{{.Account.Acct}} @@ -28,38 +31,32 @@ {{template "status" (WithContext .Status $.Ctx)}} {{else if eq .Type "reblog"}} -
-
- - profile-avatar - -
-
-
- {{EmojiFilter .Account.DisplayName .Account.Emojis}} - retweeted - retweeted your post -
- {{template "status" (WithContext .Status $.Ctx)}} -
+
+ + avatar + + {{EmojiFilter .Account.DisplayName .Account.Emojis}} + retweeted + retweeted your post + + - +
+ {{template "status" (WithContext .Status $.Ctx)}} {{else if eq .Type "favourite"}} -
-
- - profile-avatar - -
-
-
- {{EmojiFilter .Account.DisplayName .Account.Emojis}} - liked - liked your post -
- {{template "status" (WithContext .Status $.Ctx)}} -
+
+ + avatar + + {{EmojiFilter .Account.DisplayName .Account.Emojis}} + liked + liked your post + + - +
+ {{template "status" (WithContext .Status $.Ctx)}} {{end}}
{{end}} -- cgit v1.2.3