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

No history found

} @if (history.length > 0) {

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

}