{{ with $s := .Data }} {{StatusContentFilter .Content .Emojis .Mentions}} {{if .MediaAttachments}}
{{range .MediaAttachments}} {{if eq .Type "image"}} {{if $.Ctx.HideAttachments}} {{if .Description}}[{{.Description}}]{{else}}[image]{{end}} {{else}} status-image {{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else if eq .Type "audio"}} {{if $.Ctx.HideAttachments}} {{if .Description}}[{{.Description}}]{{else}}[audio]{{end}} {{else}} {{end}} {{else if eq .Type "video"}} {{if $.Ctx.HideAttachments}} {{if .Description}}[{{.Description}}]{{else}}[video]{{end}} {{else}}
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else}} {{if .Description}}[{{.Description}}]{{else}}[attachment]{{end}} {{end}} {{end}}
{{end}} {{if .Poll}}
{{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}}
{{EmojiFilter $o.Title $s.Emojis}} - {{$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 }}