mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-14 16:59:20 +02: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)
|
||||
- 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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue