2024-03-19 16:59:47 +01:00
|
|
|
<div *ngIf="inappNotification" class="inapp-notification-editor">
|
2024-01-08 17:32:07 +01:00
|
|
|
<div class="col-md-10 offset-md-1 colums-gapped">
|
|
|
|
<div class="row align-items-center mb-4">
|
|
|
|
<div class="col-md-12">
|
2024-03-19 16:59:47 +01:00
|
|
|
<mat-card class="pt-3 pb-3">
|
|
|
|
<mat-card-title class="pl-2 pb-2">
|
2024-01-08 17:32:07 +01:00
|
|
|
<div [innerHTML]="inappNotification.subject"></div>
|
|
|
|
</mat-card-title>
|
2024-03-19 16:59:47 +01:00
|
|
|
<mat-card-content class="mt-2">
|
2024-01-08 17:32:07 +01:00
|
|
|
<div [innerHTML]="inappNotification.body"></div>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
2024-03-19 16:59:47 +01:00
|
|
|
<div class="row editor-actions">
|
2024-01-08 17:32:07 +01:00
|
|
|
<div class="col"></div>
|
2024-03-19 16:59:47 +01:00
|
|
|
<div class="col-auto" *ngIf="!this.isDeleted && !isNew"><button mat-raised-button type="button" (click)="delete()" class="normal-btn">{{'NOTIFICATION-SERVICE.INAPP-NOTIFICATION-EDITOR.ACTIONS.DELETE' | translate}}</button></div>
|
|
|
|
<div class="col-auto"><button mat-raised-button (click)="cancel()" type="button" class="normal-btn">{{'NOTIFICATION-SERVICE.INAPP-NOTIFICATION-EDITOR.ACTIONS.CANCEL' | translate}}</button></div>
|
2024-01-08 17:32:07 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|