funky-framadate-front/src/app/shared/components/choice-details/choice-details.component.html

37 lines
923 B
HTML
Raw Normal View History

2020-05-12 19:16:23 +02:00
<div class="columns is-mobile">
<div class="column">
<table class="table is-narrow is-fullwidth">
<thead>
<tr>
<th class="is-flex">
<img class="image is-24x24" src="../../../assets/img/icon_voter_YES.svg" />
{{ choice.counts.get(responseTypeEnum.YES) }}
</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let pseudo of choice.participants.get(responseTypeEnum.YES)">
<td>{{ pseudo }}</td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<table class="table is-narrow is-fullwidth">
<thead>
<tr>
<th class="is-flex">
<img class="image is-24x24" src="../../../assets/img/icon_voter_MAYBE.svg" />
{{ choice.counts.get(responseTypeEnum.MAYBE) }}
</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let pseudo of choice.participants.get(responseTypeEnum.MAYBE)">
<td>{{ pseudo }}</td>
</tr>
</tbody>
</table>
</div>
</div>