{{with .Data}}
{{if .Reblog}}
@{{.Account.Acct}} {{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} @{{.Account.Acct}} retweeted
{{template "status" (WithContext .Reblog $.Ctx)}} {{else}} {{block "status" (WithContext . $.Ctx)}} {{with $s := .Data}}
{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} @{{.Account.Acct}}
source quickreply {{if .Muted}}
{{else}}
{{end}} {{if .Bookmarked}}
{{else}}
{{end}} {{if eq $.Ctx.UserID .Account.ID}}
{{end}}
{{if (or .InReplyToID .ShowReplies)}}
{{if .InReplyToID}} in reply to {{if .IDNumbers}}#{{index .IDNumbers .InReplyToID}}{{end}} {{if .Pleroma.InReplyToAccountAcct}}@{{.Pleroma.InReplyToAccountAcct}}{{else if not .IDNumbers}}{{.InReplyToID}}{{end}} {{if index .IDReplies .ID}} - {{end}} {{end}} {{if .ShowReplies}} {{if index .IDReplies .ID}} replies: {{end}} {{range index .IDReplies .ID}} #{{.Number}} {{end}} {{end}}
{{end}} {{if (or .Content .SpoilerText)}}
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}
{{end -}} {{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
{{end}} {{if .MediaAttachments}}
{{range .MediaAttachments}} {{- if eq .Type "image" -}} {{if $.Ctx.HideAttachments}} [image{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{- else -}} {{.Description}} {{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{- end -}} {{else if eq .Type "audio"}} {{if $.Ctx.HideAttachments}} [audio{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}} {{end}} {{else if eq .Type "video"}} {{if $.Ctx.HideAttachments}} [video{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}}
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else}} [attachment{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{end}} {{- end -}}
{{end}} {{if .Poll}}
{{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}}
{{EmojiFilter (HTML $o.Title) $s.Emojis | Raw}} - {{$o.VotesCount}} votes
{{else}} {{end}}
{{end}} {{if not (or .Poll.Expired .Poll.Voted)}}
{{end}}
{{.Poll.VotesCount}} votes {{if .Poll.Expired}} - poll expired {{else if .Poll.ExpiresAt}} - poll ends in {{end}}
{{end}}
{{end}} {{end}} {{end}}
{{end}}