From f84793244919c37d38a44706a12075ad921d9b0e Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Thu, 2 Jan 2025 16:37:42 +0100 Subject: [PATCH] add tooltips to table --- app/templates/admin/users.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/templates/admin/users.html b/app/templates/admin/users.html index 7d9e025d..036e2905 100644 --- a/app/templates/admin/users.html +++ b/app/templates/admin/users.html @@ -76,15 +76,15 @@ {% for user in users.items %} - {{ render_username(user, add_domain=False) }}
- {{ user.user_name }}{% if not user.is_local() %}@{{ user.ap_domain }}{% endif %} - {{ 'Banned'|safe if user.banned }} + {{ render_username(user, add_domain=False) }}
+ {{ user.user_name }}{% if not user.is_local() %}@{{ user.ap_domain }}{% endif %}
+ {{ 'Banned'|safe if user.banned }} {{ 'Banned posts'|safe if user.ban_posts }} - {{ 'Banned comments'|safe if user.ban_comments }} - {{ user.reports if user.reports > 0 }} - {% if user.attitude != 1 %}{{ (user.attitude * 100) | round | int }}%{% endif %} - {% if user.reputation %}R {{ user.reputation | round | int }}{% endif %} - {{ arrow.get(user.last_seen).humanize(locale=locale) }} + {{ 'Banned comments'|safe if user.ban_comments }} + {{ user.reports if user.reports > 0 }} + {% if user.attitude != 1 %}{{ (user.attitude * 100) | round | int }}%{% endif %} + {% if user.reputation %}R {{ user.reputation | round | int }}{% endif %} + {{ arrow.get(user.last_seen).humanize(locale=locale) }} Edit, Delete,