show scores in own user profile page

This commit is contained in:
Hendrik L 2024-07-11 07:58:22 +02:00 committed by Hendrik L
parent bee447dfe0
commit 8892e8922b

View file

@ -122,7 +122,7 @@
<h2 class="mt-4" id="comments">Comments</h2> <h2 class="mt-4" id="comments">Comments</h2>
<div class="post_list"> <div class="post_list">
{% for post_reply in post_replies.items %} {% 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' %} {% include 'post/_post_reply_teaser.html' %}
{% endwith %} {% endwith %}
<hr /> <hr />