From 59eaff95120bc1278f37f95fc74bc2e2518b9ef1 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 14 Dec 2019 10:57:14 +0000 Subject: Show retweet info in status --- templates/status.tmpl | 122 ++++++++++++++++++++++++++++---------------------- 1 file changed, 68 insertions(+), 54 deletions(-) (limited to 'templates') diff --git a/templates/status.tmpl b/templates/status.tmpl index fde2309..baccabb 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -1,64 +1,78 @@ -
-
+
+ {{if .Reblog}} +
profile-avatar + {{WithEmojis .Account.DisplayName .Account.Emojis}} + + repeated
-
-
- {{WithEmojis .Account.DisplayName .Account.Emojis}} - {{.Account.Acct}} + {{template "status" .Reblog}} + {{else}} + {{block "status" .}} +
+
+ profile-avatar
-
{{WithEmojis .Content .Emojis}}
-
- {{range .MediaAttachments}} - {{if eq .Type "image"}} - - status-image - - {{else if eq .Type "audio"}} - - {{else if eq .Type "video"}} - - {{else}} - attachment - {{end}} - {{end}} -
- + {{end}} + {{end}}
-- cgit v1.2.3