diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/status.tmpl | 12 |
1 files changed, 4 insertions, 8 deletions
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 @@ </div> <div class="status-reply-container"> {{if .InReplyToID}} - <div class="status-reply-to"> - <a class="status-reply-to-link" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}"> - in reply to {{if .IDNumbers}}#{{index .IDNumbers .InReplyToID}}{{end}} {{if .Pleroma.InReplyToAccountAcct}}@{{.Pleroma.InReplyToAccountAcct}}{{else if not .IDNumbers}}{{.InReplyToID}}{{end}} - </a> - </div> + <a class="status-reply-to-link" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}"> + in reply to {{if .IDNumbers}}#{{index .IDNumbers .InReplyToID}}{{end}} {{if .Pleroma.InReplyToAccountAcct}}@{{.Pleroma.InReplyToAccountAcct}}{{else if not .IDNumbers}}{{.InReplyToID}}{{end}} + </a> {{if index .IDReplies .ID}} <span class="status-reply-info-divider"> - </span> {{end}} {{end}} {{if .ShowReplies}} {{if index .IDReplies .ID}} <span class="status-reply-text"> replies: </span> {{end}} {{range index .IDReplies .ID}} - <div class="status-reply"> - <a class="status-reply-link" href="#status-{{.ID}}">#{{.Number}}</a> - </div> + <a class="status-reply-link" href="#status-{{.ID}}">#{{.Number}}</a> {{end}} {{end}} </div> |