Add account {hide,show}retweets

This commit is contained in:
r 2020-04-19 05:57:40 +00:00
parent 04af1b93dc
commit 91d87b0175
6 changed files with 34 additions and 11 deletions

View file

@ -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>