mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Save
This commit is contained in:
@@ -50,10 +50,6 @@
|
|||||||
displayFormat="D MMM YYYY H:mm"
|
displayFormat="D MMM YYYY H:mm"
|
||||||
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"></ion-datetime>
|
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"></ion-datetime>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<!-- <ion-item>
|
|
||||||
<ion-label position="stacked">Data Início: </ion-label>
|
|
||||||
<ion-input [(ngModel)]='loadedEvent.StartDate'></ion-input>
|
|
||||||
</ion-item> -->
|
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label position="stacked">Data Fim</ion-label>
|
<ion-label position="stacked">Data Fim</ion-label>
|
||||||
<ion-datetime value="{{loadedEvent.EndDate}}" [(ngModel)]="loadedEvent.EndDate" min="2020" max="2100"
|
<ion-datetime value="{{loadedEvent.EndDate}}" [(ngModel)]="loadedEvent.EndDate" min="2020" max="2100"
|
||||||
@@ -86,12 +82,10 @@
|
|||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
</ion-card> -->
|
</ion-card> -->
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
|
|
||||||
|
|
||||||
<div class="div-attach" >
|
<div class="div-attach" >
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-buttons slot="end" (click)="openAttendees()">
|
<ion-buttons slot="end" (click)="openAttendees()">
|
||||||
<ion-icon name="eye" slot="start" ></ion-icon>
|
<ion-icon name="people" slot="start" ></ion-icon>
|
||||||
<ion-label>Ver mais</ion-label>
|
<ion-label>Ver mais</ion-label>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
<ion-label class="attach-label">Intervenientes</ion-label>
|
<ion-label class="attach-label">Intervenientes</ion-label>
|
||||||
@@ -101,20 +95,26 @@
|
|||||||
<ion-item class="attendees" lines="none" *ngFor="let attendee of loadedEvent.Attendees.slice(0, 2)">
|
<ion-item class="attendees" lines="none" *ngFor="let attendee of loadedEvent.Attendees.slice(0, 2)">
|
||||||
<ion-icon class="attendees-icon" name="person" slot="start"></ion-icon>
|
<ion-icon class="attendees-icon" name="person" slot="start"></ion-icon>
|
||||||
<ion-label color="secondary" class="attendees-list">{{attendee.Name}}</ion-label>
|
<ion-label color="secondary" class="attendees-list">{{attendee.Name}}</ion-label>
|
||||||
<!-- <ion-icon name="trash" slot="end"></ion-icon> -->
|
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
<!-- <ion-button (click)="openAttendees()">Ver mais</ion-button> -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="div-attach">
|
<div class="div-attach">
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-icon (click)="showAlert()" name="add" slot="end"></ion-icon>
|
|
||||||
|
<ion-buttons slot="end" (click)="showAlert()">
|
||||||
|
<ion-icon name="documents" slot="start"></ion-icon>
|
||||||
|
<ion-label>Ver mais</ion-label>
|
||||||
|
</ion-buttons>
|
||||||
<ion-label class="attach-label">Anexos</ion-label>
|
<ion-label class="attach-label">Anexos</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
||||||
<ion-list *ngIf="loadedEvent.HasAttachments">
|
<ion-list *ngIf="loadedEvent.HasAttachments">
|
||||||
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
||||||
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
||||||
|
<ion-refresher-content>
|
||||||
|
</ion-refresher-content>
|
||||||
|
</ion-refresher>
|
||||||
<ion-item lines="none" *ngFor="let att of loadedEventAttachments.slice(0, 2)">
|
<ion-item lines="none" *ngFor="let att of loadedEventAttachments.slice(0, 2)">
|
||||||
<ion-icon name="attach" slot="start"></ion-icon>
|
<ion-icon name="attach" slot="start"></ion-icon>
|
||||||
<ion-label color="secondary">
|
<ion-label color="secondary">
|
||||||
|
|||||||
@@ -176,4 +176,12 @@ export class EventDetailPage implements OnInit {
|
|||||||
{
|
{
|
||||||
//this.back();
|
//this.back();
|
||||||
}
|
}
|
||||||
|
doRefresh(event){
|
||||||
|
/* this.RefreshEvents(); */
|
||||||
|
event.target.complete();
|
||||||
|
setTimeout(() => {
|
||||||
|
event.target.complete();
|
||||||
|
}, 2000);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user