- <a
- i18n-title title="Update your notification preferences" class="glyphicon glyphicon-cog"
- routerLink="/my-account/settings" fragment="notifications"
- ></a>
- </div>
+ <div>
+ <button
+ *ngIf="unreadNotifications"
+ i18n-title title="Mark all as read" class="glyphicon glyphicon-inbox mr-2"
+ (click)="markAllAsRead()"
+ ></button>
+ <a
+ i18n-title title="Update your notification preferences" class="glyphicon glyphicon-cog"
+ routerLink="/my-account/settings" fragment="notifications"
+ #settingsNotifications (click)="onNavigate(settingsNotifications)"
+ ></a>
+ </div>
+ </div>
+
+ <div *ngIf="!loaded" class="loader mt-4">
+ <my-loader [loading]="!loaded"></my-loader>
+ </div>