AltitudeWeb/frontend/src/app/bans/history/history.component.html

28 lines
594 B
HTML
Raw Normal View History

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>
<thead>
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>
</thead>
<tbody>
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>
</tbody>
2025-04-11 19:20:02 +00:00
</table>
</ng-container>