20 lines
1.2 KiB
HTML
20 lines
1.2 KiB
HTML
<div class="dropdown-top"></div>
|
|
|
|
<mat-nav-list class="inapp-notification-listing-dialog">
|
|
<a *ngFor="let inappNotification of inappNotifications; last as last;" mat-list-item (click)="goToNotification(inappNotification)">
|
|
<mat-icon *ngIf="inappNotification.trackingState === notificationInAppTrackingEnum.Delivered" mat-list-icon>drafts</mat-icon>
|
|
<mat-icon *ngIf="inappNotification.trackingState === notificationInAppTrackingEnum.Stored" mat-list-icon>mail</mat-icon>
|
|
<span mat-line>{{ inappNotification.subject }}</span>
|
|
<span mat-line class="secondary-text">{{ inappNotification.createdAt | date : 'short'}}</span>
|
|
<mat-divider inset *ngIf="!last"></mat-divider>
|
|
</a>
|
|
<mat-list-item class = "mat-list-item-content" *ngIf="authService.hasPermission(authService.permissionEnum.ViewMineInAppNotificationPage)">
|
|
<a (click)="goToNotifications()">{{'NAV-BAR.INAPP-NOTIFICATIONS'
|
|
| translate}}</a>
|
|
</mat-list-item>
|
|
<mat-list-item class = "mat-list-item-content" *ngIf="authService.hasPermission(authService.permissionEnum.ViewMineInAppNotificationPage)">
|
|
<a (click)="readAllNotifications()">{{'NAV-BAR.READ-ALL-INAPP-NOTIFICATIONS'
|
|
| translate}}</a>
|
|
</mat-list-item>
|
|
</mat-nav-list>
|