Changes on Intervenientes + New Event

This commit is contained in:
Tiago Kayaya
2020-09-04 01:25:32 +01:00
parent b9a70fecb8
commit d82271ae37
13 changed files with 181 additions and 126 deletions
@@ -1,14 +1,14 @@
<ion-header class="ion-no-border">
<ion-toolbar>
<ion-title>Intervenientes</ion-title>
<ion-title>Participantes</ion-title>
</ion-toolbar>
<ion-toolbar>
<ion-segment [(ngModel)]="segment">
<ion-segment-button value="true">
Necessários
Intervenientes
</ion-segment-button>
<ion-segment-button value="false">
Opcionais
Com Conhecimento
</ion-segment-button>
</ion-segment>
</ion-toolbar>
@@ -16,14 +16,14 @@
<ion-content>
<ion-item-group>
<ion-button shape="round" (click)="addAttendees()" expand="block">
<ion-label>Adicionar intervenientes</ion-label>
<ion-label>Adicionar participantes</ion-label>
</ion-button>
</ion-item-group>
<ion-item-group [ngSwitch]="segment" *ngFor="let attendee of eventAttendees">
<ion-list *ngSwitchCase="attendee.IsRequired.toString()">
<ion-item-sliding>
<ion-item-options side="end">
<ion-item-option color="danger" (click)="removeAttendee(attendee)">Delete</ion-item-option>
<ion-item-option color="danger" (click)="removeAttendee(attendee)">Apagar</ion-item-option>
</ion-item-options>
<ion-item lines="none">
<ion-icon slot="start" name="person"></ion-icon>