From 30dedd19c53617aa730b7d7ab294e8622249e34f Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:21:42 +1200 Subject: [PATCH] show stats on user profile --- app/templates/user/show_profile.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html index 14ca3598..a62a0eb5 100644 --- a/app/templates/user/show_profile.html +++ b/app/templates/user/show_profile.html @@ -94,7 +94,10 @@ {% if user.bot %} {{ _('Bot Account') }}
{% endif %} - {{ _('Attitude') }}: {{ (user.attitude * 100) | round | int }}%

+ {{ _('Attitude') }}: {{ (user.attitude * 100) | round | int }}%
+ {{ _('Posts') }}: {{ user.post_count }}
+ {{ _('Comments') }}: {{ user.post_reply_count }}
+

{{ user.about_html|safe }} {% if posts %}

Posts