2025-04-11 19:20:02 +00:00
|
|
|
<ng-container *ngIf="history.length === 0">
|
|
|
|
|
<p>No history found</p>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
<ng-container *ngIf="history.length > 0">
|
|
|
|
|
<table>
|
2025-04-11 19:56:46 +00:00
|
|
|
<tr>
|
|
|
|
|
<th>Player</th>
|
|
|
|
|
<th>Banned By</th>
|
|
|
|
|
<th>Reason</th>
|
|
|
|
|
<th>Date</th>
|
|
|
|
|
<th>Expires</th>
|
|
|
|
|
</tr>
|
2025-04-11 19:20:02 +00:00
|
|
|
<tr *ngFor="let entry of history">
|
|
|
|
|
<td>{{ entry.username }}</td>
|
|
|
|
|
<td>{{ entry.punishedBy }}</td>
|
|
|
|
|
<td>{{ entry.reason }}</td>
|
|
|
|
|
<td>{{ getPunishmentTime(entry) }}</td>
|
|
|
|
|
<td>{{ getExpiredTime(entry) }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|