AltitudeWeb/frontend/src/app/bans/history/history.component.html
2025-04-11 21:56:46 +02:00

24 lines
544 B
HTML

<ng-container *ngIf="history.length === 0">
<p>No history found</p>
</ng-container>
<ng-container *ngIf="history.length > 0">
<table>
<tr>
<th>Player</th>
<th>Banned By</th>
<th>Reason</th>
<th>Date</th>
<th>Expires</th>
</tr>
<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>