From 721383ff862820e58a4cd5b3e9a64152a0f0c829 Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Mon, 6 Jan 2025 11:23:35 +0100 Subject: [PATCH] fix admin users table --- app/templates/admin/users.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/admin/users.html b/app/templates/admin/users.html index 02c92913..03a3344d 100644 --- a/app/templates/admin/users.html +++ b/app/templates/admin/users.html @@ -80,8 +80,8 @@ {{ 'Banned'|safe if user.banned }} {{ 'Banned posts'|safe if user.ban_posts }} {{ 'Banned comments'|safe if user.ban_comments }} - {{ arrow.get(user.last_seen).humanize(locale=locale) }} {{ user.reports if user.reports > 0 }} + {% if user.attitude %}{{ (user.attitude * 100) | round | int }}%{% endif %} {% if user.reputation %}R {{ user.reputation | round | int }}{% endif %} {{ arrow.get(user.last_seen).humanize(locale=locale) }} Edit,