Marshal Guard

@if (!isCreateMarshalGuard) {
} @if (isCreateMarshalGuard) {
@if (f['eventDate'].invalid && (f['eventDate'].dirty || !f['eventDate'].untouched)) {
@if (f['eventDate'].hasError('required')) {

eventDate is required

}
}
@if (f['level'].invalid && (f['level'].dirty || !f['level'].untouched)) {
@if (f['level'].hasError('required')) {

Level is required

}
}
@if (playerSelected) {

{{participatedPlayer}} players participated

{{notParticipatedPlayer}} player did not participated

} @else {

Please add participants

}
} @if(!isCreateMarshalGuard) { @if (marshalGuards.length > 0) {
@for (marshalGuard of marshalGuards | paginate: { id: 'marshalGuardTable', itemsPerPage: pageSize, totalItems: totalRecord, currentPage: pageNumber}; track marshalGuard.id) { }
Event Date Level Reward Phase Alliance Size Participating players Creator Action
{{marshalGuard.eventDate | date: 'dd.MM.yyyy'}} {{marshalGuard.level}} {{marshalGuard.allianceSize}} {{marshalGuard.participants}} {{marshalGuard.createdBy}}
Showing {{ (pageNumber - 1) * pageSize + 1 }} - {{ pageNumber * pageSize > totalRecord ? totalRecord : pageNumber * pageSize }} of {{ totalRecord }} results
} @else { } }