mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Removed slice method + few changes
This commit is contained in:
@@ -91,16 +91,15 @@
|
||||
<div class="div-attach" >
|
||||
<ion-item>
|
||||
<ion-buttons slot="end" (click)="openAttendees()">
|
||||
<ion-icon name="people" slot="start" ></ion-icon>
|
||||
<ion-label>Ver mais</ion-label>
|
||||
<ion-label color="secondary">Editar</ion-label>
|
||||
</ion-buttons>
|
||||
<ion-label class="attach-label">Intervenientes</ion-label>
|
||||
</ion-item>
|
||||
<div id="AttachFiles"></div>
|
||||
<ion-list>
|
||||
<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">
|
||||
<ion-icon class="attendees-icon" name="person" slot="start"></ion-icon>
|
||||
<ion-label color="secondary" class="attendees-list">{{attendee.Name}}</ion-label>
|
||||
<ion-label class="attendees-list">{{attendee.Name}}</ion-label>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</div>
|
||||
@@ -108,8 +107,7 @@
|
||||
<ion-item>
|
||||
|
||||
<ion-buttons slot="end" (click)="showAlert()">
|
||||
<ion-icon name="documents" slot="start"></ion-icon>
|
||||
<ion-label>Ver mais</ion-label>
|
||||
<ion-label color="secondary">Editar</ion-label>
|
||||
</ion-buttons>
|
||||
<ion-label class="attach-label">Anexos</ion-label>
|
||||
</ion-item>
|
||||
@@ -119,15 +117,18 @@
|
||||
<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">
|
||||
<ion-icon name="attach" slot="start"></ion-icon>
|
||||
<ion-label color="secondary">
|
||||
<ion-label>
|
||||
<p>{{ att.Description }}</p>
|
||||
<p>{{ att.CreateDate }}</p>
|
||||
</ion-label>
|
||||
<!-- <ion-icon name="trash" slot="end"></ion-icon> -->
|
||||
</ion-item>
|
||||
<ion-item lines="none" *ngIf="!loadedEvent.HasAttachments">
|
||||
|
||||
</ion-list>
|
||||
<ion-list *ngIf="!loadedEvent.HasAttachments">
|
||||
<ion-item lines="none" >
|
||||
<ion-label>
|
||||
Sem anexos
|
||||
</ion-label>
|
||||
@@ -201,11 +202,13 @@
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
</ion-content>
|
||||
<ion-footer class="ion-no-border">
|
||||
<div class="event-detail-buttons">
|
||||
<!-- <ion-button shape="round" fill="outline" class="ion-button-left" (click)="deleteConfirm()">Apagar</ion-button> -->
|
||||
<ion-button shape="round" (click)="Save()">Gravar</ion-button>
|
||||
</div>
|
||||
<ion-footer>
|
||||
<ion-toolbar>
|
||||
<div class="event-detail-buttons">
|
||||
<ion-button shape="round" (click)="Save()">Gravar</ion-button>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
</ion-footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user