visible quoted status

This commit is contained in:
localhost_frssoft 2023-11-05 01:22:24 +03:00
parent aeba4e6682
commit e99b6aa5f2
4 changed files with 14 additions and 0 deletions

1
README
View file

@ -10,6 +10,7 @@ Changes (localhost_custom fork):
- Add reactions for pleroma (includes custom emojis input)
- tag timeline
- visible edited post time
- visible quoted post (status in status)
- hide boosts in spoiler
- some micro visual changes
- some others changes no matter

View file

@ -18,6 +18,7 @@ import (
type StatusPleroma struct {
InReplyToAccountAcct string `json:"in_reply_to_account_acct"`
Reactions []*ReactionsPleroma `json:"emoji_reactions"`
Quote *Status `json:"quote"` // Quoted statuses
}
type ReactionsPleroma struct {

View file

@ -27,6 +27,12 @@ frame, body {
overflow-wrap: break-word;
}
.status-content .status-profile-img-container {
scale: 15%;
width: 5%;
display: flex;
}
.pleroma-reactions #place-react{
border: 1px solid grey;
background-color: transparent

View file

@ -106,6 +106,12 @@
{{if .Sensitive}}[NSFW]<br/>{{end}}
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end -}}
{{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
{{if .Pleroma.Quote}}
<details>
<summary>quoted post</summary>
{{template "status" (WithContext .Pleroma.Quote $.Ctx)}}
</details>
{{end}}
</div>
{{end}}
{{$st_id := .ID}}