From def93b4598ed2c6d194e575117746bdc967c1a6a Mon Sep 17 00:00:00 2001 From: r Date: Thu, 26 Aug 2021 04:55:30 +0000 Subject: Show spoiler text even when post content is emtpy --- templates/status.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 9109f4e..7ca8192 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -87,7 +87,7 @@ {{end}} {{end}} - {{if .Content}} + {{if (or .Content .SpoilerText)}}
{{StatusContentFilter (html .SpoilerText) .Content .Emojis .Mentions}}
{{end}} {{if .MediaAttachments}} -- cgit v1.2.3 From 816281c225e1d07602aa4f6d87d5ffbbc8dfbb7a Mon Sep 17 00:00:00 2001 From: r Date: Sun, 5 Sep 2021 17:17:59 +0000 Subject: Add quick reply --- templates/status.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 7ca8192..a7cc10d 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -35,6 +35,9 @@ source + + quickreply + {{if .Muted}}
-- cgit v1.2.3 From b2a9e44db1a703fe0150c5aef7097020a9e1550d Mon Sep 17 00:00:00 2001 From: r Date: Tue, 16 Nov 2021 15:29:27 +0000 Subject: Escape user display name --- templates/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index a7cc10d..c79633f 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -5,7 +5,7 @@ avatar - {{EmojiFilter .Account.DisplayName .Account.Emojis}} + {{EmojiFilter (html .Account.DisplayName) .Account.Emojis}} @{{.Account.Acct}} @@ -23,7 +23,7 @@
- {{EmojiFilter .Account.DisplayName .Account.Emojis}} + {{EmojiFilter (html .Account.DisplayName) .Account.Emojis}} @{{.Account.Acct}} -- cgit v1.2.3 From 1c8c661abb4beda77edefe421fba1a52cf933956 Mon Sep 17 00:00:00 2001 From: r Date: Mon, 22 Nov 2021 06:40:15 +0000 Subject: Fix time parsing for empty string --- templates/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index c79633f..dda1d79 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -227,8 +227,8 @@ -- cgit v1.2.3