diff options
author | r <r@freesoftwareextremist.com> | 2020-06-05 06:27:59 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-06-05 06:28:50 +0000 |
commit | eb3bc15da9617cf119d1c16365ec9e0c90a7549f (patch) | |
tree | a64778f95d8b1118e4158396b4d8d4b1ae10aaa7 /templates | |
parent | b5ca78a2e6efa8becc561639e8e9cdf0ab5797df (diff) | |
download | bloat-eb3bc15da9617cf119d1c16365ec9e0c90a7549f.tar.gz bloat-eb3bc15da9617cf119d1c16365ec9e0c90a7549f.zip |
Show status numbers
Diffstat (limited to 'templates')
-rw-r--r-- | templates/status.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl index 18e6d9a..ec0d297 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -26,7 +26,7 @@ </a> <div class="more-container"> <div class="remote-link"> - {{.Visibility}} + {{if .IDNumbers}}#{{index .IDNumbers .ID}}{{end}} {{.Visibility}} </div> <div class="more-content"> <a class="more-link" href="{{.URL}}" target="_blank"> @@ -56,14 +56,14 @@ {{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 .Pleroma.InReplyToAccountAcct}}{{.Pleroma.InReplyToAccountAcct}}{{else if .ReplyNumber}}#{{.ReplyNumber}}{{else}}{{.InReplyToID}}{{end}} + in reply to {{if .IDNumbers}}#{{index .IDNumbers .InReplyToID}}{{end}} {{if .Pleroma.InReplyToAccountAcct}}{{.Pleroma.InReplyToAccountAcct}}{{else if not .IDNumbers}}{{.InReplyToID}}{{end}} </a> </div> - {{if index .ReplyMap .ID}} <span class="status-reply-info-divider"> - </span> {{end}} + {{if index .IDReplies .ID}} <span class="status-reply-info-divider"> - </span> {{end}} {{end}} {{if .ShowReplies}} - {{if index .ReplyMap .ID}} <span class="status-reply-text"> replies: </span> {{end}} - {{range index .ReplyMap .ID}} + {{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> |