Skip to content

Commit

Permalink
Update settings_pogoauth.html (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko authored Dec 15, 2023
1 parent 5e1d76c commit c7ce801
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/madmin/templates/settings_pogoauth.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@
_title += "<br />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 + "<br/>" + "Timestamp: " + _burntime_str + " (" + _burntime.fromNow() + ")";
$(this).tooltip({placement: "bottom", title: _title, html: true});
} else {
// nothing for now, probably handle BAN if ever happens (-:
}
Expand Down

0 comments on commit c7ce801

Please sign in to comment.