From d7fc7cf2f5e9c11a401ee34ed498bca762c72b79 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 18 Dec 2019 22:14:02 +0000 Subject: Add reply links on thread page --- templates/status.tmpl | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 7020be0..4dbbe3c 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -11,17 +11,30 @@ {{block "status" .}}
- {{if ne .Account.ID ""}} + {{if not .HideAccountInfo}} profile-avatar {{end}}
- {{if ne .Account.ID ""}} + {{if not .HideAccountInfo}}
{{WithEmojis .Account.DisplayName .Account.Emojis}} {{.Account.Acct}}
{{end}} +
+ {{if .InReplyToID}} + + reply to {{.Pleroma.InReplyToAccountAcct}} + {{if index .ReplyMap .ID}} - {{end}} + {{end}} + {{if .ShowReplies}} + {{if index .ReplyMap .ID}} replies: {{end}} + {{range index .ReplyMap .ID}} + #{{.Number}} + {{end}} + {{end}} +
{{WithEmojis .Content .Emojis}}
{{range .MediaAttachments}} -- cgit v1.2.3