diff options
author | r <r@freesoftwareextremist.com> | 2020-04-19 11:24:37 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-04-19 11:24:37 +0000 |
commit | ded211f29f16ed3258fa9e83e623134c678cb5bb (patch) | |
tree | 2125ad4654ea39660898f6714ef11749d7523cbf | |
parent | 55ed6a480ea049f789d778e4bae06ffa4d790ee1 (diff) | |
download | bloat-ded211f29f16ed3258fa9e83e623134c678cb5bb.tar.gz bloat-ded211f29f16ed3258fa9e83e623134c678cb5bb.zip |
Show {hide,show}retweets button only for followed users
-rw-r--r-- | templates/user.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user.tmpl b/templates/user.tmpl index b8b3754..f6750c6 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -75,6 +75,7 @@ <input type="submit" value="mute" class="btn-link"> </form> {{end}} + {{if .User.Pleroma.Relationship.Following}} - {{if .User.Pleroma.Relationship.ShowingReblogs}} <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"> </form> {{end}} + {{end}} </div> {{end}} <div> |