<div class="notification" [class.unread]="!notification.readAt">
  <div class="top">
    <div class="icon"></div>
    <div class="date">{{notification.createdAt | date:'dd.MM.yyyy HH:mm'}}</div>
    <div class="message">{{notification.message}}</div>
  </div>
  <div class="bottom">
    <button type="button" *ngIf="plan" (click)="openPlan()">Перейти</button>
    <button type="button" *ngIf="normative" (click)="openNormative()">Перейти</button>
    <button type="button" *ngIf="application" (click)="openApplication()">Перейти</button>
    <button type="button" *ngIf="poll" (click)="openPoll()">Перейти</button>
  </div>
</div>
