mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-26 11:08:08 +01:00
Small fixes to player page introduced a few commits ago
This commit is contained in:
parent
8ca6a8df4d
commit
f6b5c8409d
@ -105,7 +105,7 @@ public class InspectPage extends Page {
|
||||
addValue("playerName", playerName);
|
||||
addValue("kickCount", timesKicked);
|
||||
|
||||
addValue("toLastSeen", lastSeen != 0 ? FormatUtils.formatTimeStampYear(lastSeen) : "-");
|
||||
addValue("lastSeen", lastSeen != 0 ? FormatUtils.formatTimeStampYear(lastSeen) : "-");
|
||||
|
||||
PerServerContainer perServerContainer = container.getValue(PlayerKeys.PER_SERVER).orElse(new PerServerContainer());
|
||||
PerServerDataMutator perServerDataMutator = new PerServerDataMutator(perServerContainer);
|
||||
|
@ -99,7 +99,7 @@ public class ServerAccordion extends AbstractAccordion {
|
||||
.addRowBold("blue", "superpowers", "Operator", opeator ? "Yes" : "No")
|
||||
.addRowBold("red", "gavel", "Banned", banned ? "Yes" : "No")
|
||||
.addRowBold("light-green", "user-plus", "Registered",
|
||||
registered != 0 ? FormatUtils.formatTimeStampDay(registered) : "Not registered")
|
||||
registered != 0 ? FormatUtils.formatTimeStampYear(registered) : "Not registered")
|
||||
.addBreak()
|
||||
.addRowBold("teal", "calendar-check-o", "Sessions", sessionCount)
|
||||
.addRowBold("green", "clock-o", "Server Playtime", play)
|
||||
|
Loading…
Reference in New Issue
Block a user