Show {hide,show}retweets button only for followed users
[bloat] / templates / user.tmpl
index b8b3754deef0d4e0960a3ed447fe07b4712d48a5..f6750c6cf7904c63461bc258991bd226cb88e669 100644 (file)
@@ -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>