mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-10 22:08:45 +00:00
FEATURE: Pleroma reactions implemented partially
This commit is contained in:
parent
0cd239b8aa
commit
f452fab462
5 changed files with 75 additions and 6 deletions
|
@ -97,6 +97,18 @@
|
|||
{{StatusContentFilter .Content .Emojis .Mentions | Raw}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{$st_id := .ID}}
|
||||
{{if .Pleroma.Reactions}}
|
||||
<div class="pleroma-reactions">
|
||||
{{range .Pleroma.Reactions}}
|
||||
<form action="/react-with/{{$st_id}}?emoji={{.Name}}" method="post" target="_self" title="Who reacted: {{range .Accounts}}{{.Acct}} {{end}}">
|
||||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
|
||||
<input type="submit" value="{{.Name}}" class="pleroma-emoji">
|
||||
</form>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .MediaAttachments}}
|
||||
<div class="status-media-container">
|
||||
{{range .MediaAttachments}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue