mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 19:08:45 +00:00
Add account {hide,show}retweets
This commit is contained in:
parent
04af1b93dc
commit
91d87b0175
6 changed files with 34 additions and 11 deletions
|
@ -74,7 +74,19 @@
|
|||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
<input type="submit" value="mute" class="btn-link">
|
||||
</form>
|
||||
{{end}}
|
||||
{{end}}
|
||||
-
|
||||
{{if .User.Pleroma.Relationship.ShowingReblogs}}
|
||||
<form class="d-inline" action="/follow/{{.User.ID}}?reblogs=false" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
<input type="submit" value="hide retweets" class="btn-link">
|
||||
</form>
|
||||
{{else}}
|
||||
<form class="d-inline" action="/follow/{{.User.ID}}" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
<input type="submit" value="show retweets" class="btn-link">
|
||||
</form>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue