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-08-26 14:24:18 +01:00
|
|
|
<ion-title>Intervenientes</ion-title>
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-toolbar>
|
2020-08-26 14:24:18 +01:00
|
|
|
<ion-button (click)="addAttendees()" expand="block">
|
|
|
|
|
<ion-label>Adicionar intervenientes</ion-label>
|
|
|
|
|
</ion-button>
|
2020-08-26 10:18:47 +01:00
|
|
|
<ion-toolbar>
|
2020-08-25 14:08:13 +01:00
|
|
|
<ion-segment [(ngModel)]="segment" (ionChange)="onSegmentChange()">
|
|
|
|
|
<ion-segment-button value="required">
|
|
|
|
|
Necessários
|
|
|
|
|
</ion-segment-button>
|
|
|
|
|
<ion-segment-button value="optional">
|
|
|
|
|
Opcionais
|
|
|
|
|
</ion-segment-button>
|
|
|
|
|
</ion-segment>
|
|
|
|
|
</ion-toolbar>
|
2020-08-26 14:24:18 +01:00
|
|
|
</ion-header>
|
|
|
|
|
<ion-content>
|
2020-08-25 14:08:13 +01:00
|
|
|
<div [ngSwitch]="segment">
|
|
|
|
|
<ion-list>
|
|
|
|
|
<ion-item-sliding>
|
2020-08-26 14:24:18 +01:00
|
|
|
<ion-item lines="none" *ngFor="let attendee of showAttendees">
|
2020-08-25 14:08:13 +01:00
|
|
|
<div class="div-item">
|
|
|
|
|
<div class="div-up">
|
|
|
|
|
<div class="div-content-attachment">
|
|
|
|
|
<h3>{{ attendee.Name }}</h3>
|
|
|
|
|
<p>{{ attendee.EmailAddress }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</ion-item-sliding>
|
|
|
|
|
</ion-list>
|
2020-08-26 10:18:47 +01:00
|
|
|
</div>
|
2020-08-25 14:08:13 +01:00
|
|
|
</ion-content>
|
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>
|
|
|
|
|
<ion-buttons slot="end">
|
|
|
|
|
<ion-button (click)="save()">
|
|
|
|
|
<ion-label>Gravar</ion-label>
|
|
|
|
|
<ion-icon name="checkmark" slot="start"></ion-icon>
|
|
|
|
|
</ion-button>
|
|
|
|
|
</ion-buttons>
|
|
|
|
|
</ion-toolbar>
|
2020-08-26 10:18:47 +01:00
|
|
|
</ion-footer>
|