Show {hide,show}retweets button only for followed users

This commit is contained in:
r 2020-04-19 11:24:37 +00:00
parent 55ed6a480e
commit ded211f29f
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@
<input type="submit" value="mute" class="btn-link"> <input type="submit" value="mute" class="btn-link">
</form> </form>
{{end}} {{end}}
{{if .User.Pleroma.Relationship.Following}}
- -
{{if .User.Pleroma.Relationship.ShowingReblogs}} {{if .User.Pleroma.Relationship.ShowingReblogs}}
<form class="d-inline" action="/follow/{{.User.ID}}?reblogs=false" method="post"> <form class="d-inline" action="/follow/{{.User.ID}}?reblogs=false" method="post">
@ -87,6 +88,7 @@
<input type="submit" value="show retweets" class="btn-link"> <input type="submit" value="show retweets" class="btn-link">
</form> </form>
{{end}} {{end}}
{{end}}
</div> </div>
{{end}} {{end}}
<div> <div>