2021-06-18 11:01:02 +01:00
|
|
|
<ion-header class="ion-no-border">
|
2021-07-22 11:12:55 +01:00
|
|
|
<app-header > </app-header>
|
2021-06-18 11:01:02 +01:00
|
|
|
</ion-header>
|
2020-12-11 15:09:53 +01:00
|
|
|
|
2020-12-15 19:37:42 +01:00
|
|
|
<ion-header class="ion-no-border">
|
2021-06-18 11:01:02 +01:00
|
|
|
<!-- <ion-toolbar class="bg-blue"> -->
|
2020-12-15 19:37:42 +01:00
|
|
|
<div class="main-header">
|
2021-07-08 13:41:27 +01:00
|
|
|
<div class="title-content d-flex width-100">
|
2021-10-27 09:49:50 +01:00
|
|
|
<div class="back-icon cursor-pointer" (click)="goBack()">
|
2021-10-25 13:21:48 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
2022-10-18 14:51:24 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " src="assets/images/theme/doneIt/icons-calendar-arrow-left.svg"></ion-icon>
|
2021-10-25 13:21:48 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
2021-04-14 15:27:50 +01:00
|
|
|
<div class="div-title flex-grow-1">
|
2020-12-09 12:10:19 +01:00
|
|
|
<ion-label class="title">{{item.Description}}</ion-label>
|
|
|
|
|
<p class="item-content-detail">{{item.Detail}}</p>
|
2021-07-14 16:26:51 +01:00
|
|
|
<p class="item-content-date">{{item.DateBegin | date: 'dd-MM-yy | HH:mm'}}</p>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
2022-03-30 16:32:56 +01:00
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Actions.createPost])" class="actions-icon cursor-pointer" (click)="AddPublication('2',item.ProcessId)">
|
2020-12-15 19:37:42 +01:00
|
|
|
<!-- <ion-icon (click)="AddPublication('1',item.ProcessId)" slot="end" src='assets/images/icons-add-photo.svg'></ion-icon> -->
|
2021-10-21 15:47:00 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-add.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-add.svg'></ion-icon>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-12-15 19:37:42 +01:00
|
|
|
</div>
|
2021-06-18 11:01:02 +01:00
|
|
|
<!-- </ion-toolbar> -->
|
2020-12-15 19:37:42 +01:00
|
|
|
</ion-header>
|
|
|
|
|
|
2021-07-15 16:18:57 +01:00
|
|
|
<ion-content class="background-white">
|
2022-02-18 15:28:30 +01:00
|
|
|
<!-- <ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
2020-12-15 19:37:42 +01:00
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
2022-02-18 15:28:30 +01:00
|
|
|
</ion-refresher> -->
|
|
|
|
|
<div class="main-container background-white height-100 overflow-y-auto">
|
|
|
|
|
<ion-content>
|
2022-03-31 12:07:02 +01:00
|
|
|
<ion-card *ngFor="let publication of getpublication let i = index"
|
|
|
|
|
(click)="goToPublicationDetail(publication.DocumentId)"
|
|
|
|
|
>
|
2022-02-18 15:28:30 +01:00
|
|
|
<ion-card-content>
|
|
|
|
|
<div class="post-img">
|
|
|
|
|
<img [lazyLoad]="publication.FileBase64">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content px-20">
|
|
|
|
|
<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 | HH:mm'}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-description">
|
|
|
|
|
<p>{{publication.Message}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
</ion-content>
|
|
|
|
|
<!-- <ion-list>
|
2021-11-18 15:43:41 +01:00
|
|
|
<div class="post-item cursor-pointer"
|
2021-10-11 17:22:01 +01:00
|
|
|
*ngFor="let publication of getpublication"
|
2021-07-21 19:08:31 +01:00
|
|
|
(click)="goToPublicationDetail(publication.DocumentId)"
|
|
|
|
|
>
|
2022-03-30 16:32:56 +01:00
|
|
|
|
2022-02-18 15:28:30 +01:00
|
|
|
<div class="post-img">
|
|
|
|
|
<img [defaultImage]=defaultImage [lazyLoad]="publication.FileBase64">
|
2022-03-30 16:32:56 +01:00
|
|
|
|
2022-01-30 10:45:27 +01:00
|
|
|
<ng-template #imageLoaded>
|
|
|
|
|
<div *ngIf="publication.FileBase64.length > 30" class="post-img">
|
2022-02-18 15:28:30 +01:00
|
|
|
<img [defaultImage]=defaultImage [lazyLoad]="publication.FileBase64">
|
2022-01-30 10:45:27 +01:00
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
2021-04-14 15:27:50 +01:00
|
|
|
<div class="post-content px-20">
|
2020-12-01 14:03:15 +01:00
|
|
|
<div class="post-title-time">
|
|
|
|
|
<div class="post-title">
|
2020-12-11 15:09:53 +01:00
|
|
|
<ion-label>{{publication.Title}}</ion-label>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
2021-07-14 16:26:51 +01:00
|
|
|
<div class="post-data">{{publication.DatePublication | date: 'dd-MM-yy | HH:mm'}}</div>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="post-description">
|
2020-12-11 15:09:53 +01:00
|
|
|
<p>{{publication.Message}}</p>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-15 16:07:55 +01:00
|
|
|
<div *ngIf="showLoader" class="post-item">
|
2020-12-09 12:10:19 +01:00
|
|
|
<div class="post-img">
|
|
|
|
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
|
|
|
|
</div>
|
2021-04-14 15:27:50 +01:00
|
|
|
<div class="post-content px-20">
|
2020-12-09 12:10:19 +01:00
|
|
|
<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>
|
2020-12-01 14:03:15 +01:00
|
|
|
<div class="post-img">
|
2020-12-09 12:10:19 +01:00
|
|
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
2021-04-14 15:27:50 +01:00
|
|
|
<div class="post-content px-20">
|
2020-12-01 14:03:15 +01:00
|
|
|
<div class="post-title-time">
|
|
|
|
|
<div class="post-title">
|
2020-12-09 12:10:19 +01:00
|
|
|
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
2020-12-09 12:10:19 +01:00
|
|
|
<div class="post-data"><ion-skeleton-text animated style="width: 25%; float: right;"></ion-skeleton-text></div>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="post-description">
|
2020-12-09 12:10:19 +01:00
|
|
|
<p><ion-skeleton-text animated></ion-skeleton-text></p>
|
|
|
|
|
<p><ion-skeleton-text animated></ion-skeleton-text></p>
|
2020-12-01 14:03:15 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-02-18 15:28:30 +01:00
|
|
|
</ion-list> -->
|
2021-07-22 14:36:29 +01:00
|
|
|
</div>
|
2020-12-01 14:03:15 +01:00
|
|
|
</ion-content>
|