1 <ng-template #notificationsTpl
>
2 <div *
ngIf=
"notifications.length > 0">
3 <button type=
"button" class=
"btn btn-default btn-sm btn-block" (click)=
"removeAll()">
4 <i class=
"fa fa-trash-o" aria-hidden=
"true"></i>
6 <ng-container i18n
>Remove all
</ng-container>
9 <div *
ngFor=
"let notification of notifications">
12 <td rowspan=
"3" class=
"icon-col text-center">
13 <span [ngClass]=
"['fa-stack fa-2x', notification.textClass]">
14 <i class=
"fa fa-circle fa-stack-2x"></i>
15 <i [ngClass]=
"['fa fa-stack-1x fa-inverse', notification.iconClass]"></i>
19 <strong>{{ notification.title }}
</strong>
23 <td [innerHtml]=
"notification.message">
27 <td [innerHtml]=
"notificationService.renderTimeAndApplicationHtml(notification)"></td>
35 <ng-template #emptyTpl
>
36 <div *
ngIf=
"notifications.length === 0">
38 There are no notifications.
44 <ng-container *
ngTemplateOutlet=
"notificationsTpl"></ng-container>
45 <ng-container *
ngTemplateOutlet=
"emptyTpl"></ng-container>
53 title=
"Recent Notifications">
54 <i class=
"fa fa-fw fa-bell"></i>
56 class=
"visible-xs-inline-block">Recent Notifications
</span>