mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-28 14:51:26 +00:00
visible quoted status
This commit is contained in:
parent
aeba4e6682
commit
e99b6aa5f2
1
README
1
README
|
@ -10,6 +10,7 @@ Changes (localhost_custom fork):
|
||||||
- Add reactions for pleroma (includes custom emojis input)
|
- Add reactions for pleroma (includes custom emojis input)
|
||||||
- tag timeline
|
- tag timeline
|
||||||
- visible edited post time
|
- visible edited post time
|
||||||
|
- visible quoted post (status in status)
|
||||||
- hide boosts in spoiler
|
- hide boosts in spoiler
|
||||||
- some micro visual changes
|
- some micro visual changes
|
||||||
- some others changes no matter
|
- some others changes no matter
|
||||||
|
|
|
@ -18,6 +18,7 @@ import (
|
||||||
type StatusPleroma struct {
|
type StatusPleroma struct {
|
||||||
InReplyToAccountAcct string `json:"in_reply_to_account_acct"`
|
InReplyToAccountAcct string `json:"in_reply_to_account_acct"`
|
||||||
Reactions []*ReactionsPleroma `json:"emoji_reactions"`
|
Reactions []*ReactionsPleroma `json:"emoji_reactions"`
|
||||||
|
Quote *Status `json:"quote"` // Quoted statuses
|
||||||
}
|
}
|
||||||
|
|
||||||
type ReactionsPleroma struct {
|
type ReactionsPleroma struct {
|
||||||
|
|
|
@ -27,6 +27,12 @@ frame, body {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status-content .status-profile-img-container {
|
||||||
|
scale: 15%;
|
||||||
|
width: 5%;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.pleroma-reactions #place-react{
|
.pleroma-reactions #place-react{
|
||||||
border: 1px solid grey;
|
border: 1px solid grey;
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
|
|
|
@ -106,6 +106,12 @@
|
||||||
{{if .Sensitive}}[NSFW]<br/>{{end}}
|
{{if .Sensitive}}[NSFW]<br/>{{end}}
|
||||||
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end -}}
|
{{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}<br/>{{end -}}
|
||||||
{{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
|
{{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
|
||||||
|
{{if .Pleroma.Quote}}
|
||||||
|
<details>
|
||||||
|
<summary>quoted post</summary>
|
||||||
|
{{template "status" (WithContext .Pleroma.Quote $.Ctx)}}
|
||||||
|
</details>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{$st_id := .ID}}
|
{{$st_id := .ID}}
|
||||||
|
|
Loading…
Reference in a new issue