mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-02 10:04:22 +00:00
Add status reply preview in fluoride mode
This commit is contained in:
parent
2a77700102
commit
8607f16212
3 changed files with 85 additions and 3 deletions
|
@ -44,14 +44,19 @@
|
|||
{{end}}
|
||||
<div class="status-reply-container">
|
||||
{{if .InReplyToID}}
|
||||
<img class="icon" src="/static/icons/mail-forward.png" alt="reply to" />
|
||||
<a class="status-reply-to" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}"> reply to {{.Pleroma.InReplyToAccountAcct}} </a>
|
||||
<div class="status-reply-to">
|
||||
<a class="status-reply-to-link" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}">
|
||||
<img class="icon" src="/static/icons/mail-forward.png" alt="reply to" /> reply to {{.Pleroma.InReplyToAccountAcct}}
|
||||
</a>
|
||||
</div>
|
||||
{{if index .ReplyMap .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}}
|
||||
<a class="status-reply" href="#status-{{.ID}}">#{{.Number}}</a>
|
||||
<div class="status-reply">
|
||||
<a class="status-reply-link" href="#status-{{.ID}}">#{{.Number}}</a>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue