From 856fe9e8c74e7c8096f7fb04d7b0932171223752 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 8 Nov 2020 13:13:05 +0000 Subject: Fix CSS issues - fix text wrapping on reply popup - fix margin for media links --- templates/status.tmpl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 432c9a6..4cdb459 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -70,19 +70,15 @@
{{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}}
-- cgit v1.2.3 From b35d62ecbb96b6d5f83b0453ca16e8dc45b39657 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 28 Nov 2020 12:58:18 +0000 Subject: Fix RTL display name rendering Wrap all the inline display names in a tag --- 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 4cdb459..6071b2f 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -5,7 +5,7 @@ avatar - {{EmojiFilter .Account.DisplayName .Account.Emojis}} + {{EmojiFilter .Account.DisplayName .Account.Emojis}} @{{.Account.Acct}} @@ -23,7 +23,7 @@
- {{EmojiFilter .Account.DisplayName .Account.Emojis}} + {{EmojiFilter .Account.DisplayName .Account.Emojis}} @{{.Account.Acct}} -- cgit v1.2.3 From 17f02deff72cd79a61731923a5459fd289f811c6 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 16 Jan 2021 10:38:32 +0000 Subject: Show emojis in poll options --- 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 6071b2f..e842a96 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -139,12 +139,12 @@ {{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}} -
{{$o.Title}} - {{$o.VotesCount}} votes
+
{{EmojiFilter $o.Title $s.Emojis}} - {{$o.VotesCount}} votes
{{else}} {{end}}
-- cgit v1.2.3 From 3f776ee8c88b7af93f54f9f0869ca13ffa14aeea Mon Sep 17 00:00:00 2001 From: r Date: Sat, 16 Jan 2021 18:03:47 +0000 Subject: Show attachment file name instead of the type --- templates/status.tmpl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index e842a96..a46129f 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -91,7 +91,9 @@ {{if eq .Type "image"}} {{if $.Ctx.HideAttachments}} - [image] + + {{if .Description}}[{{.Description}}]{{else}}[image]{{end}} + {{else}} status-image @@ -103,7 +105,9 @@ {{else if eq .Type "audio"}} {{if $.Ctx.HideAttachments}} - [audio] + + {{if .Description}}[{{.Description}}]{{else}}[audio]{{end}} + {{else}}