2021-03-12 14:38:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<ion-header class="ion-no-border">
|
|
|
|
|
<div class="main-header">
|
2021-03-17 10:57:16 +01:00
|
|
|
<div class="title-content d-flex flex-end">
|
2021-03-17 10:03:39 +01:00
|
|
|
<!-- <div class="back-icon" (click)="goBack()">
|
2021-03-17 09:01:24 +01:00
|
|
|
<ion-icon slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
2021-03-17 10:03:39 +01:00
|
|
|
</div> -->
|
2021-03-17 10:57:16 +01:00
|
|
|
<div class="div-title flex-grow-1">
|
2021-03-12 14:38:55 +01:00
|
|
|
<ion-label class="title">{{item.Description}}</ion-label>
|
|
|
|
|
<p class="item-content-detail">{{item.Detail}}</p>
|
|
|
|
|
<p class="item-content-date">{{item.DateBegin}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="actions-icon">
|
|
|
|
|
<!-- <ion-icon (click)="AddPublication('1',item.ProcessId)" slot="end" src='assets/images/icons-add-photo.svg'></ion-icon> -->
|
|
|
|
|
<ion-icon (click)="AddPublication('2',item.ProcessId)" slot="end" src='assets/images/icons-add.svg'></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
|
|
|
|
<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>
|
|
|
|
|
<div class="main-container px-20">
|
|
|
|
|
<ion-list>
|
|
|
|
|
<!-- [routerLink]="['/home/publications/view-publications/publication-detail', publication.publicationId]" -->
|
2021-03-15 16:47:16 +01:00
|
|
|
<div class="post-item d-md-block mb-10"
|
2021-03-15 10:12:14 +01:00
|
|
|
*ngFor="let publication of publicationList"
|
|
|
|
|
(click)="viewPublicationDetail(publication.DocumentId)">
|
2021-03-16 17:51:01 +01:00
|
|
|
<div *ngIf="publication.FileBase64.length > 30" class="mb-10 post-img width-md-100 height-lg-unset">
|
2021-03-12 14:38:55 +01:00
|
|
|
<img src="{{publication.FileBase64}}" alt="image">
|
|
|
|
|
</div>
|
2021-03-12 15:31:11 +01:00
|
|
|
<div *ngIf="publication.FileBase64.length < 30" class="mb-10 post-img">
|
2021-03-12 14:38:55 +01:00
|
|
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
|
|
|
|
</div>
|
2021-03-15 16:47:16 +01:00
|
|
|
<div class="post-content px-20 width-md-100 ">
|
2021-03-12 14:38:55 +01:00
|
|
|
<div class="post-title-time">
|
|
|
|
|
<div class="post-title">
|
|
|
|
|
<ion-label>{{publication.Title}}</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-data">{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-description">
|
|
|
|
|
<p>{{publication.Message}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="!publicationList" class="post-item">
|
|
|
|
|
<div class="post-img">
|
|
|
|
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content">
|
|
|
|
|
<div class="post-title-time">
|
|
|
|
|
<div class="post-title">
|
|
|
|
|
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-data"><ion-skeleton-text animated style="width: 25%; float: right;"></ion-skeleton-text></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-description">
|
|
|
|
|
<p><ion-skeleton-text animated></ion-skeleton-text></p>
|
|
|
|
|
<p><ion-skeleton-text animated></ion-skeleton-text></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-img">
|
|
|
|
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content">
|
|
|
|
|
<div class="post-title-time">
|
|
|
|
|
<div class="post-title">
|
|
|
|
|
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-data"><ion-skeleton-text animated style="width: 25%; float: right;"></ion-skeleton-text></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-description">
|
|
|
|
|
<p><ion-skeleton-text animated></ion-skeleton-text></p>
|
|
|
|
|
<p><ion-skeleton-text animated></ion-skeleton-text></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-list>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-content>
|