Working on attachments

This commit is contained in:
Tiago Kayaya
2020-09-07 15:50:36 +01:00
parent 74ce37adf3
commit cc88726c03
3 changed files with 18 additions and 9 deletions
@@ -126,7 +126,7 @@
<div *ngIf="j<2">
<ion-list *ngIf="loadedEvent.HasAttachments">
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
<ion-item lines="none">
<ion-item lines="none" (click)="viewDocument(att.Link)">
<ion-icon name="attach" slot="start"></ion-icon>
<ion-label>
<p>{{ att.Description }}</p>
@@ -137,7 +137,7 @@
</div>
</div>
<div *ngIf="loadedEventAttachments.length > 1">
<ion-button class="see-more-button" fill="none" shape="round" (click)="showAlert()">
<ion-button class="see-more-button" fill="none" shape="round" [routerLink]="['/home/attachments', loadedEvent.EventId]">
<ion-label color="secondary">Ver mais...</ion-label>
</ion-button>
</div>