62 lines
2.0 KiB
Handlebars
62 lines
2.0 KiB
Handlebars
<table>
|
||
<thead>
|
||
<tr>
|
||
<th class="title-cell" colSpan=3>
|
||
STARTING LINEUP
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
{{#each members}}
|
||
{{#if (isInStartingLineup this)}}
|
||
<tr>
|
||
<td class="sequence-cell">
|
||
{{plus1 this.benchcoach.eventLineupEntry.sequence}}{{#if (hasPositionFlags this.benchcoach.eventLineupEntry.label)}} {{positionFlags this.benchcoach.eventLineupEntry.label}}{{/if}}
|
||
</td>
|
||
<td class="name-cell">{{this.lastName}}, {{this.firstName}} – #{{this.jerseyNumber}}</td>
|
||
<td class="position-label-cell">{{positionLabelWithoutFlags this.benchcoach.eventLineupEntry.label}}</td>
|
||
</tr>
|
||
{{/if}}
|
||
{{/each}}
|
||
<tr>
|
||
<th class="title-cell" colSpan=3>Starting (Pos. Only)</th>
|
||
</tr>
|
||
{{#each members}}
|
||
{{#if (isInPositionOnly this)}}
|
||
<tr>
|
||
<td class="sequence-cell"></td>
|
||
<td class="name-cell">{{this.lastName}}, {{this.firstName}} – #{{this.jerseyNumber}}</td>
|
||
<td class="position-label-cell">{{positionLabelWithoutPOFlag this.benchcoach.eventLineupEntry.label}}</td>
|
||
</tr>
|
||
{{/if}}
|
||
{{/each}}
|
||
<tr>
|
||
<th class="title-cell" colSpan=3>Subs</th>
|
||
</tr>
|
||
{{#each members}}
|
||
{{#if (isInBench this)}}
|
||
<tr>
|
||
<td class="sequence-cell">
|
||
{{availabilityStatusShort this.benchcoach.availability}}
|
||
</td>
|
||
<td class="name-cell">{{this.lastName}}, {{this.firstName}} – #{{this.jerseyNumber}}</td>
|
||
<td class="position-label-cell">{{this.benchcoach.eventLineupEntry.label}}</td>
|
||
</tr>
|
||
{{/if}}
|
||
{{/each}}
|
||
<tr>
|
||
<th class="title-cell out" colSpan=3>Out</th>
|
||
</tr>
|
||
{{#each members}}
|
||
{{#if (isInOut this)}}
|
||
<tr>
|
||
<td class="sequence-cell">
|
||
{{availabilityStatusShort this.benchcoach.availability}}
|
||
</td>
|
||
<td class="name-cell">{{this.lastName}}, {{this.firstName}} – #{{this.jerseyNumber}}</td>
|
||
<td class="position-label-cell">{{this.benchcoach.eventLineupEntry.label}}</td>
|
||
</tr>
|
||
{{/if}}
|
||
{{/each}}
|
||
</tbody>
|
||
</table> |