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">
|
2025-04-11 22:53:20 +00:00
|
|
|
<table [cellSpacing]="0">
|
|
|
|
|
<div style="width: 1300px; background-color: #dadada;">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="historyPlayer">Player</th>
|
|
|
|
|
<th class="historyPlayer">Banned By</th>
|
|
|
|
|
<th class="historyReason">Reason</th>
|
|
|
|
|
<th class="historyDate">Date</th>
|
|
|
|
|
<th class="historyDate">Expires</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr *ngFor="let entry of history">
|
|
|
|
|
<td class="historyPlayer">{{ entry.username }}</td>
|
|
|
|
|
<td class="historyPlayer">{{ entry.punishedBy }}</td>
|
|
|
|
|
<td class="historyReason">{{ entry.reason }}</td>
|
|
|
|
|
<td class="historyDate">{{ getPunishmentTime(entry) }}</td>
|
|
|
|
|
<td class="historyDate">{{ getExpiredTime(entry) }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</div>
|
2025-04-11 19:20:02 +00:00
|
|
|
</table>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|