Added support for download error notifications

Style improvements
This commit is contained in:
Isaac Abadi
2022-11-25 18:20:08 -05:00
parent b51f45c704
commit f44be29181
5 changed files with 20 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
<h4 *ngIf="notifications !== null && notifications.length === 0 && read_notifications.length === 0" style="text-align: center; margin: 10px;" i18n="No notifications available">No notifications available</h4>
<strong *ngIf="notifications !== null && notifications.length === 0 && read_notifications.length === 0" style="text-align: center; margin: 10px; position: relative; top: 8px;" i18n="No notifications available">No notifications available</strong>
<div style="margin: 10px;" *ngIf="notifications?.length > 0">
<h4 class="notification-title" i18n="New notifications">New notifications</h4>
<strong class="notification-title" i18n="New notifications">New notifications</strong>
<app-notifications-list (notificationAction)="notificationAction($event)" (deleteNotification)="deleteNotification($event)" [notifications]="notifications"></app-notifications-list>
</div>
<div style="margin: 10px;" *ngIf="read_notifications?.length > 0">
<h4 class="notification-title" i18n="Old notifications">Old notifications</h4>
<strong class="notification-title" i18n="Old notifications">Old notifications</strong>
<app-notifications-list (notificationAction)="notificationAction($event)" (deleteNotification)="deleteNotification($event)" [notifications]="read_notifications"></app-notifications-list>
</div>