From 87847d6696db64f8f3b4281f99e97d185c823865 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 22 May 2024 15:37:12 +0200 Subject: [PATCH] fixed admin output --- res/forum/admin.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/forum/admin.html b/res/forum/admin.html index 197e36f..1ab2c8e 100644 --- a/res/forum/admin.html +++ b/res/forum/admin.html @@ -50,11 +50,12 @@ }; let sex = sex_codes[result.sex] || sex_codes.default; + let admin = result.admin == 0 ? "Ne" : "Ano"; let output = `Uživatelské jméno: ${result.username}
Přezdívka: ${result.nickname}
- Admin: ${result.admin}
+ Admin: ${admin}
Pohlaví: ${sex}
Bio: ${result.bio}
`;