mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
Added some tooltips to user table headers. History is shown in tournament player table now. Changed ratio column to numberic format.
This commit is contained in:
parent
82fed1ed87
commit
687ab7ec6b
18 changed files with 239 additions and 89 deletions
|
|
@ -42,6 +42,7 @@ public class TournamentPlayerView implements Serializable, Comparable {
|
|||
private final String name;
|
||||
private final String state;
|
||||
private final String results;
|
||||
private final String history;
|
||||
private final int points;
|
||||
private final boolean quit;
|
||||
|
||||
|
|
@ -57,6 +58,7 @@ public class TournamentPlayerView implements Serializable, Comparable {
|
|||
this.points = tournamentPlayer.getPoints();
|
||||
this.results = tournamentPlayer.getResults();
|
||||
this.quit = !tournamentPlayer.isInTournament();
|
||||
this.history = tournamentPlayer.getPlayer().getUserData().getHistory();
|
||||
this.flagName = tournamentPlayer.getPlayer().getUserData().getFlagName();
|
||||
}
|
||||
|
||||
|
|
@ -88,4 +90,9 @@ public class TournamentPlayerView implements Serializable, Comparable {
|
|||
public String getFlagName() {
|
||||
return flagName;
|
||||
}
|
||||
|
||||
public String getHistory() {
|
||||
return history;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,9 +40,9 @@ public class UsersView implements Serializable {
|
|||
private final String flagName;
|
||||
private final String userName;
|
||||
private final String matchHistory;
|
||||
private final String matchQuitRatio;
|
||||
private final int matchQuitRatio;
|
||||
private final String tourneyHistory;
|
||||
private final String tourneyQuitRatio;
|
||||
private final int tourneyQuitRatio;
|
||||
private final String infoGames;
|
||||
private final String infoPing;
|
||||
|
||||
|
|
@ -50,9 +50,9 @@ public class UsersView implements Serializable {
|
|||
String tourneyHistory, int tourneyQuitRatio, String infoGames, String infoPing) {
|
||||
this.flagName = flagName;
|
||||
this.matchHistory = matchHistory;
|
||||
this.matchQuitRatio = Integer.toString(matchQuitRatio);
|
||||
this.matchQuitRatio = matchQuitRatio;
|
||||
this.tourneyHistory = tourneyHistory;
|
||||
this.tourneyQuitRatio = Integer.toString(tourneyQuitRatio);
|
||||
this.tourneyQuitRatio = tourneyQuitRatio;
|
||||
this.userName = userName;
|
||||
this.infoGames = infoGames;
|
||||
this.infoPing = infoPing;
|
||||
|
|
@ -70,7 +70,7 @@ public class UsersView implements Serializable {
|
|||
return matchHistory;
|
||||
}
|
||||
|
||||
public String getMatchQuitRatio() {
|
||||
public int getMatchQuitRatio() {
|
||||
return matchQuitRatio;
|
||||
}
|
||||
|
||||
|
|
@ -78,7 +78,7 @@ public class UsersView implements Serializable {
|
|||
return tourneyHistory;
|
||||
}
|
||||
|
||||
public String getTourneyQuitRatio() {
|
||||
public int getTourneyQuitRatio() {
|
||||
return tourneyQuitRatio;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue