]>
Commit | Line | Data |
---|---|---|
c9e3565d | 1 | <h1 class="sr-only" i18n>Notifications</h1> |
2f1548fd | 2 | <div class="header"> |
457bb213 | 3 | <a routerLink="/my-account/settings" fragment="notifications" i18n> |
6ad971d5 | 4 | <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon> |
457bb213 C |
5 | Notification preferences |
6 | </a> | |
2f1548fd | 7 | |
bc6f8863 C |
8 | <button class="btn" [disabled]="!hasUnreadNotifications()" (click)="markAllAsRead()"> |
9 | <ng-container *ngIf="hasUnreadNotifications()"> | |
6ad971d5 | 10 | <my-global-icon iconName="inbox-full" aria-hidden="true"></my-global-icon> |
10475dea | 11 | |
bc6f8863 C |
12 | <span i18n>Mark all as read</span> |
13 | </ng-container> | |
14 | ||
15 | <ng-container *ngIf="!hasUnreadNotifications()"> | |
6ad971d5 | 16 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> |
bc6f8863 C |
17 | |
18 | <span i18n>All read</span> | |
19 | </ng-container> | |
457bb213 | 20 | </button> |
2f1548fd C |
21 | </div> |
22 | ||
23 | <my-user-notifications #userNotification></my-user-notifications> |