aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-08 11:50:14 +0000
committerr <r@freesoftwareextremist.com>2020-02-08 11:50:14 +0000
commita68a09a83ef2eb411e2a7a66e919f27c040c0b6a (patch)
tree12365055d6865c10a5d61f7a81c07987dfbf9f22 /templates
parent1e44d5d3d50c850505065ef16bc513a207c0656c (diff)
downloadbloat-a68a09a83ef2eb411e2a7a66e919f27c040c0b6a.tar.gz
bloat-a68a09a83ef2eb411e2a7a66e919f27c040c0b6a.zip
Remove account relationship buttons for logged in user's page
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 fb80de4..60d766b 100644
--- a/templates/user.tmpl
+++ b/templates/user.tmpl
@@ -18,6 +18,7 @@
source
</a>
</div>
+ {{if not .IsCurrent}}
<div>
<span> {{if .User.Pleroma.Relationship.FollowedBy}} follows you - {{end}} </span>
{{if .User.Pleroma.Relationship.Following}}
@@ -64,6 +65,7 @@
</form>
{{end}}
</div>
+ {{end}}
<div>
<a href="/user/{{.User.ID}}"> statuses ({{.User.StatusesCount}}) </a> -
<a href="/user/{{.User.ID}}/following"> following ({{.User.FollowingCount}}) </a> -