1 <ng-template #popTemplate>
2 <div *ngIf="notifications.length > 0">
3 <div class="separator">
4 <ng-container i18n>Recent Notifications</ng-container>
5 <div *ngIf="notifications.length > 0"
7 <a (click)="removeAll()"
12 <div *ngFor="let notification of notifications">
15 <td rowspan="3" class="icon-col text-center">
16 <span [ngClass]="['fa-stack fa-2x', notification.textClass()]">
17 <i class="fa fa-circle fa-stack-2x"></i>
18 <i [ngClass]="['fa fa-stack-1x fa-inverse', notification.iconClass()]"></i>
22 <strong>{{ notification.title }}</strong>
27 {{ notification.message }}
32 <small class="date">{{ notification.timestamp | cdDate }}</small>
40 <div *ngIf="notifications.length === 0">
42 There are no notifications.
46 <a [popover]="popTemplate"
51 title="Recent Notifications">
52 <i class="fa fa-bell fa-fw"></i>