2020-08-26 14:24:18 +01:00
|
|
|
<ion-header class="ion-no-border">
|
2020-08-25 14:08:13 +01:00
|
|
|
<ion-toolbar>
|
2020-09-04 01:25:32 +01:00
|
|
|
<ion-title>Participantes</ion-title>
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-toolbar>
|
2020-08-26 10:18:47 +01:00
|
|
|
<ion-toolbar>
|
2020-08-26 16:07:29 +01:00
|
|
|
<ion-segment [(ngModel)]="segment">
|
|
|
|
|
<ion-segment-button value="true">
|
2020-09-04 01:25:32 +01:00
|
|
|
Intervenientes
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-segment-button>
|
2020-08-26 16:07:29 +01:00
|
|
|
<ion-segment-button value="false">
|
2020-09-04 01:25:32 +01:00
|
|
|
Com Conhecimento
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-segment-button>
|
|
|
|
|
</ion-segment>
|
|
|
|
|
</ion-toolbar>
|
2020-08-26 14:24:18 +01:00
|
|
|
</ion-header>
|
|
|
|
|
<ion-content>
|
2020-08-27 11:56:50 +01:00
|
|
|
<ion-item-group>
|
|
|
|
|
<ion-button shape="round" (click)="addAttendees()" expand="block">
|
2020-09-04 01:25:32 +01:00
|
|
|
<ion-label>Adicionar participantes</ion-label>
|
2020-08-27 11:56:50 +01:00
|
|
|
</ion-button>
|
|
|
|
|
</ion-item-group>
|
|
|
|
|
<ion-item-group [ngSwitch]="segment" *ngFor="let attendee of eventAttendees">
|
2020-08-26 16:07:29 +01:00
|
|
|
<ion-list *ngSwitchCase="attendee.IsRequired.toString()">
|
2020-08-25 14:08:13 +01:00
|
|
|
<ion-item-sliding>
|
2020-08-26 16:07:29 +01:00
|
|
|
<ion-item-options side="end">
|
2020-09-04 01:25:32 +01:00
|
|
|
<ion-item-option color="danger" (click)="removeAttendee(attendee)">Apagar</ion-item-option>
|
2020-08-26 16:07:29 +01:00
|
|
|
</ion-item-options>
|
|
|
|
|
<ion-item lines="none">
|
2020-08-27 11:56:50 +01:00
|
|
|
<ion-icon slot="start" name="person"></ion-icon>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3>{{ attendee.Name }}</h3>
|
|
|
|
|
<p>{{ attendee.EmailAddress }}</p>
|
|
|
|
|
</ion-label>
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-item>
|
|
|
|
|
</ion-item-sliding>
|
|
|
|
|
</ion-list>
|
2020-08-27 11:56:50 +01:00
|
|
|
</ion-item-group>
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-content>
|
2020-09-01 11:06:23 +01:00
|
|
|
|
|
|
|
|
|
2020-08-26 10:18:47 +01:00
|
|
|
<ion-footer class="ion-no-border">
|
2020-08-26 14:24:18 +01:00
|
|
|
<ion-toolbar color="primary">
|
|
|
|
|
<ion-buttons slot="start">
|
|
|
|
|
<ion-button (click)="close()">
|
|
|
|
|
<ion-label>Cancelar</ion-label>
|
|
|
|
|
<ion-icon name="close" slot="start"></ion-icon>
|
|
|
|
|
</ion-button>
|
|
|
|
|
</ion-buttons>
|
2020-09-01 11:06:23 +01:00
|
|
|
<ion-title></ion-title>
|
2020-08-26 14:24:18 +01:00
|
|
|
<ion-buttons slot="end">
|
|
|
|
|
<ion-button (click)="save()">
|
2020-09-07 17:25:38 +01:00
|
|
|
<ion-label>OK</ion-label>
|
2020-08-26 14:24:18 +01:00
|
|
|
<ion-icon name="checkmark" slot="start"></ion-icon>
|
|
|
|
|
</ion-button>
|
|
|
|
|
</ion-buttons>
|
|
|
|
|
</ion-toolbar>
|
2020-08-26 10:18:47 +01:00
|
|
|
</ion-footer>
|