Show point of order icon on projector (los slide)
This commit is contained in:
parent
5b84bddc2a
commit
f9796027ef
@ -1,6 +1,7 @@
|
||||
export interface SlideSpeaker {
|
||||
user: string;
|
||||
marked: boolean;
|
||||
point_of_order: boolean;
|
||||
}
|
||||
|
||||
export interface CommonListOfSpeakersSlideData {
|
||||
|
@ -13,18 +13,20 @@
|
||||
</div>
|
||||
|
||||
<!-- Last speakers -->
|
||||
<div *ngIf="data.data.finished && data.data.finished.length">
|
||||
<div *ngFor="let speaker of data.data.finished" class="lastSpeakers">
|
||||
<div *ngIf="data.data.finished && data.data.finished.length" class="lastSpeakers">
|
||||
<div *ngFor="let speaker of data.data.finished">
|
||||
{{ speaker.user }}
|
||||
<mat-icon *ngIf="speaker.marked">star</mat-icon>
|
||||
<mat-icon *ngIf="speaker.point_of_order" color="warn"> warning</mat-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Current speaker -->
|
||||
<div *ngIf="data.data.current" class="currentSpeaker">
|
||||
<mat-icon>mic</mat-icon>
|
||||
<span>{{ data.data.current.user }}</span>
|
||||
<mat-icon class="micicon">mic</mat-icon>
|
||||
{{ data.data.current.user }}
|
||||
<mat-icon *ngIf="data.data.current.marked">star</mat-icon>
|
||||
<mat-icon *ngIf="data.data.current.point_of_order" color="warn"> warning</mat-icon>
|
||||
</div>
|
||||
|
||||
<!-- Next speakers -->
|
||||
@ -33,6 +35,7 @@
|
||||
<li *ngFor="let speaker of data.data.waiting">
|
||||
{{ speaker.user }}
|
||||
<mat-icon *ngIf="speaker.marked">star</mat-icon>
|
||||
<mat-icon *ngIf="speaker.point_of_order" color="warn"> warning</mat-icon>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
@ -7,13 +7,9 @@
|
||||
font-weight: bold;
|
||||
margin: 20px 0 16px;
|
||||
|
||||
.mat-icon,
|
||||
span {
|
||||
.micicon {
|
||||
vertical-align: middle;
|
||||
}
|
||||
span {
|
||||
padding-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.nextSpeakers {
|
||||
@ -26,3 +22,7 @@
|
||||
line-height: 150%;
|
||||
}
|
||||
}
|
||||
|
||||
.mat-icon {
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
@ -147,6 +147,7 @@ async def get_list_of_speakers_slide_data(
|
||||
formatted_speaker = {
|
||||
"user": user,
|
||||
"marked": speaker["marked"],
|
||||
"point_of_order": speaker["point_of_order"],
|
||||
"weight": speaker["weight"],
|
||||
"end_time": speaker["end_time"],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user