diff options
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index 03f7e88ed..0489c9558 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -38,4 +38,15 @@ | |||
38 | 38 | ||
39 | <ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar> | 39 | <ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar> |
40 | <my-confirm></my-confirm> | 40 | <my-confirm></my-confirm> |
41 | <simple-notifications [options]="notificationOptions"></simple-notifications> | 41 | <p-toast position="bottom-right"> |
42 | <ng-template let-message pTemplate="message"> | ||
43 | <div class="message"> | ||
44 | <h3>{{ message.summary }}</h3> | ||
45 | <p>{{ message.detail }}</p> | ||
46 | </div> | ||
47 | |||
48 | <span *ngIf="message.severity === 'success'" class="glyphicon glyphicon-ok"></span> | ||
49 | <span *ngIf="message.severity === 'info'" class="glyphicon glyphicon-info-sign"></span> | ||
50 | <span *ngIf="message.severity === 'error'" class="glyphicon glyphicon-remove"></span> | ||
51 | </ng-template> | ||
52 | </p-toast> | ||