From 07c77f5485222b4cc78c772f7d130d7cd5a372c1 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Sat, 19 Apr 2025 22:13:19 +0200 Subject: [PATCH] Update ban history formatting to include clearer unban details Modified the history format service to display 'Unbanned by [user]' instead of just the user's name. This provides more explicit context for removed punishments in the UI. --- frontend/src/app/bans/history-format.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/bans/history-format.service.ts b/frontend/src/app/bans/history-format.service.ts index 75956a7..d19b88e 100644 --- a/frontend/src/app/bans/history-format.service.ts +++ b/frontend/src/app/bans/history-format.service.ts @@ -32,7 +32,7 @@ export class HistoryFormatService { public getExpiredTime(entry: PunishmentHistory): string { let suffix: string = ''; if (entry.removedBy !== null && entry.removedBy !== undefined) { - suffix = '(' + entry.removedBy + ')'; + suffix = '(Unbanned by ' + entry.removedBy + ')'; } if (entry.expiryTime <= 0) { return "Permanent " + this.getType(entry) + " " + suffix;