From c7ce801d265459abd759cd0b1c0ddc3d821019f9 Mon Sep 17 00:00:00 2001 From: JabLuszko Date: Fri, 15 Dec 2023 17:40:52 +0100 Subject: [PATCH] Update settings_pogoauth.html (#1373) --- static/madmin/templates/settings_pogoauth.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/madmin/templates/settings_pogoauth.html b/static/madmin/templates/settings_pogoauth.html index 9b8e0c0b8..35e8552a2 100644 --- a/static/madmin/templates/settings_pogoauth.html +++ b/static/madmin/templates/settings_pogoauth.html @@ -65,6 +65,12 @@ _title += "
Status: Cooldown" } $(this).tooltip({placement: "bottom", title: _title, html: true}); + } else if (_burntype == "suspended") { + $(this).removeClass("genTooltip").addClass("fas fa-ban"); + var _burntime_str = $(this).data("burntime"); + var _burntime = moment.utc(_burntime_str); + var _title = "Type: " + _burntype + "
" + "Timestamp: " + _burntime_str + " (" + _burntime.fromNow() + ")"; + $(this).tooltip({placement: "bottom", title: _title, html: true}); } else { // nothing for now, probably handle BAN if ever happens (-: }