blob: dec3b14cc123acc0e14c7fca2d2d4ba10f06c2cb (
plain) (
tree)
|
|
<div class="header">
<a routerLink="/my-account/settings" fragment="notifications" i18n>
<my-global-icon iconName="cog"></my-global-icon>
Notification preferences
</a>
<button class="btn" [disabled]="!hasUnreadNotifications()" (click)="markAllAsRead()">
<ng-container *ngIf="hasUnreadNotifications()">
<my-global-icon iconName="inbox-full"></my-global-icon>
<span i18n>Mark all as read</span>
</ng-container>
<ng-container *ngIf="!hasUnreadNotifications()">
<my-global-icon iconName="circle-tick"></my-global-icon>
<span i18n>All read</span>
</ng-container>
</button>
</div>
<my-user-notifications #userNotification></my-user-notifications>
|