forked from tykayn/funky-framadate-front
fix display of vote stacks detailed
This commit is contained in:
parent
adc7c255d8
commit
075d434c6f
@ -15,7 +15,8 @@ import { ToastService } from '../../core/services/toast.service';
|
|||||||
styleUrls: ['./consultation.component.scss'],
|
styleUrls: ['./consultation.component.scss'],
|
||||||
})
|
})
|
||||||
export class ConsultationComponent implements OnInit, OnDestroy {
|
export class ConsultationComponent implements OnInit, OnDestroy {
|
||||||
public isCompactMode = false;
|
// public isCompactMode = false;
|
||||||
|
public isCompactMode = true;
|
||||||
public poll: Poll;
|
public poll: Poll;
|
||||||
public pollSlug: string;
|
public pollSlug: string;
|
||||||
public pass_hash: string;
|
public pass_hash: string;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<th *ngFor="let choice of poll.choices">
|
<th *ngFor="let choice of poll.choices">
|
||||||
<!-- {{choice.id}}-->
|
<!-- {{choice.id}}-->
|
||||||
<span class="label" *ngIf="poll.kind == 'text'">
|
<span class="label" *ngIf="poll.kind == 'text'">
|
||||||
{{ choice.id }}
|
|
||||||
{{ choice.name }}
|
{{ choice.name }}
|
||||||
</span>
|
</span>
|
||||||
<span class="label" *ngIf="poll.kind == 'date'">
|
<span class="label" *ngIf="poll.kind == 'date'">
|
||||||
@ -54,8 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<ng-container *ngFor="let vote of stack.votes">
|
<ng-container *ngFor="let vote of stack.votes">
|
||||||
<td *ngIf="vote.value" class="stack-vote background-{{ vote.value }}">
|
<td class="stack-vote background-{{ vote.value }}">
|
||||||
{{ vote.choice_id }})
|
|
||||||
{{ vote.value }}
|
{{ vote.value }}
|
||||||
</td>
|
</td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
Loading…
Reference in New Issue
Block a user