aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-04-19 11:24:37 +0000
committerr <r@freesoftwareextremist.com>2020-04-19 11:24:37 +0000
commitded211f29f16ed3258fa9e83e623134c678cb5bb (patch)
tree2125ad4654ea39660898f6714ef11749d7523cbf /templates
parent55ed6a480ea049f789d778e4bae06ffa4d790ee1 (diff)
downloadbloat-ded211f29f16ed3258fa9e83e623134c678cb5bb.tar.gz
bloat-ded211f29f16ed3258fa9e83e623134c678cb5bb.zip
Show {hide,show}retweets button only for followed users
Diffstat (limited to 'templates')
-rw-r--r--templates/user.tmpl2
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>