From 8892e8922b7a36495a6f9717c014745024ae9f1d Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Thu, 11 Jul 2024 07:58:22 +0200 Subject: [PATCH] show scores in own user profile page --- app/templates/user/show_profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html index 1c1f31d4..9018a99b 100644 --- a/app/templates/user/show_profile.html +++ b/app/templates/user/show_profile.html @@ -122,7 +122,7 @@

Comments

{% for post_reply in post_replies.items %} - {% with teaser=True, disable_voting=True %} + {% with teaser=True, disable_voting=(current_user.id != post_reply.author.id) %} {% include 'post/_post_reply_teaser.html' %} {% endwith %}