From 5c1d5d9c2a74502e40f67ef47337a97349be0d0d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 2 Aug 2022 12:20:00 +0200 Subject: Moderation tools for admin user. Ban and unban users. Delete forum posts and threads. --- views/user.pug | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'views/user.pug') diff --git a/views/user.pug b/views/user.pug index fb98da7..c28fbd0 100644 --- a/views/user.pug +++ b/views/user.pug @@ -38,3 +38,9 @@ html +gamelist(finished_games) p All #{who.name}'s finished games + + if user && user.user_id === 1 + if who.is_banned + p UNBAN USER + else + p BAN USER -- cgit v1.2.3