]>
Commit | Line | Data |
---|---|---|
2f1548fd | 1 | <div class="header"> |
457bb213 C |
2 | <a routerLink="/my-account/settings" fragment="notifications" i18n> |
3 | <my-global-icon iconName="cog"></my-global-icon> | |
4 | Notification preferences | |
5 | </a> | |
2f1548fd | 6 | |
10475dea RK |
7 | <button class="btn" [disabled]="!getUnreadNotifications()" (click)="markAllAsRead()"> |
8 | <my-global-icon *ngIf="getUnreadNotifications()" iconName="inbox-full"></my-global-icon> | |
9 | <span i18n *ngIf="getUnreadNotifications()">Mark all as read</span> | |
10 | ||
11 | <my-global-icon *ngIf="!getUnreadNotifications()" iconName="circle-tick"></my-global-icon> | |
12 | <span i18n *ngIf="!getUnreadNotifications()">All read</span> | |
457bb213 | 13 | </button> |
2f1548fd C |
14 | </div> |
15 | ||
16 | <my-user-notifications #userNotification></my-user-notifications> |