{{/* Some admin notices intentionally omit an actor: report sources can be ambiguous, and a deleted account no longer has a profile. */}} {{if and (ne .Type "admin.report") (ne .Type "admin.account_deleted")}} {{if .Account.DisplayName}}{{emojifyName .Account.DisplayName .Account.Emojis}}{{else}}{{.Account.Username}}{{end}} @{{.Account.Username}}{{if .Account.Domain}}@{{.Account.Domain}}{{end}} {{if .AdditionalCount}}{{Tn .AdditionalCount "notif.and_others" .AdditionalCount}}{{end}} {{end}} {{if eq .Type "follow"}}{{T "notif.type.follow"}} {{else if eq .Type "favourite"}}{{T "notif.type.favourite"}} {{else if eq .Type "emoji_reaction"}}{{emojifyReaction (T "notif.type.emoji_reaction" .Emoji) .Emoji .ReactionEmoji}} {{else if eq .Type "reblog"}}{{T "notif.type.reblog"}} {{else if eq .Type "quote"}}{{T "notif.type.quote"}} {{else if eq .Type "mention"}}{{T "notif.type.mention"}} {{else if eq .Type "follow_request"}}{{T "notif.type.follow_request"}} {{else if eq .Type "status"}}{{T "notif.type.status"}} {{else if eq .Type "update"}}{{T "notif.type.update"}} {{else if eq .Type "move"}}{{T "notif.type.move"}} {{else if eq .Type "unfollow"}}{{T "notif.type.unfollow"}} {{else if eq .Type "block"}}{{T "notif.type.block"}} {{else if eq .Type "unblock"}}{{T "notif.type.unblock"}} {{else if eq .Type "follow_accept"}}{{T "notif.type.follow_accept"}} {{else if eq .Type "follow_reject"}}{{T "notif.type.follow_reject"}} {{else if eq .Type "blog.rebuilt"}}{{if .Status}}{{T "notif.type.blog_rebuilt_discussion"}}{{else}}{{T "notif.type.blog_rebuilt"}}{{end}} {{else if eq .Type "admin.report"}}{{T "notif.type.admin_report"}} {{else if eq .Type "admin.account_deleted"}}{{T "notif.type.admin_account_deleted"}} {{else if eq .Type "admin.account_moved"}}{{T "notif.type.admin_account_moved"}} {{else}}{{T "notif.type.default"}}{{end}}
{{if .Pending}}{{emojifyName .Status.Summary .Status.Emojis}}
{{else}} {{$body := excerpt .Status.ContentHTML 160}} {{if $body}}{{$body}}
{{end}} {{end}} {{end}}