@if (history.length === 0) {

No history found

} @if (history.length > 0) {

@if (canEdit()) {
}
Type | Player | Banned By | Reason | Date | Expires |
--- | --- | --- | --- | --- | --- | ---
@for (entry of history; track entry) {
@if (canEdit()) {
}
{{ this.historyFormat.getType(entry) }} | {{ entry.username }} | {{ entry.punishedBy }} | {{ entry.reason | removeTrailingPeriod }} | {{ this.historyFormat.getPunishmentTime(entry) }} | {{ this.historyFormat.getExpiredTime(entry) }} | edit
}

}