diff options
Diffstat (limited to 'client/src/app/menu/avatar-notification.component.html')
-rw-r--r-- | client/src/app/menu/avatar-notification.component.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/client/src/app/menu/avatar-notification.component.html b/client/src/app/menu/avatar-notification.component.html index a5ef43d42..1b6e6dcf8 100644 --- a/client/src/app/menu/avatar-notification.component.html +++ b/client/src/app/menu/avatar-notification.component.html | |||
@@ -12,10 +12,17 @@ | |||
12 | <div class="notifications-header"> | 12 | <div class="notifications-header"> |
13 | <div i18n>Notifications</div> | 13 | <div i18n>Notifications</div> |
14 | 14 | ||
15 | <a | 15 | <div> |
16 | i18n-title title="Update your notification preferences" class="glyphicon glyphicon-cog" | 16 | <button |
17 | routerLink="/my-account/settings" fragment="notifications" | 17 | *ngIf="unreadNotifications" |
18 | ></a> | 18 | i18n-title title="Mark all as read" class="glyphicon glyphicon-inbox mr-2" |
19 | (click)="markAllAsRead()" | ||
20 | ></button> | ||
21 | <a | ||
22 | i18n-title title="Update your notification preferences" class="glyphicon glyphicon-cog" | ||
23 | routerLink="/my-account/settings" fragment="notifications" | ||
24 | ></a> | ||
25 | </div> | ||
19 | </div> | 26 | </div> |
20 | 27 | ||
21 | <div *ngIf="!loaded" class="loader"> | 28 | <div *ngIf="!loaded" class="loader"> |
@@ -27,6 +34,9 @@ | |||
27 | (notificationsLoaded)="onNotificationLoaded()" | 34 | (notificationsLoaded)="onNotificationLoaded()" |
28 | ></my-user-notifications> | 35 | ></my-user-notifications> |
29 | 36 | ||
30 | <a *ngIf="loaded" class="all-notifications" routerLink="/my-account/notifications" i18n>See all your notifications</a> | 37 | <a *ngIf="loaded" class="all-notifications" routerLink="/my-account/notifications"> |
38 | <my-global-icon class="mr-1" iconName="inbox-full"></my-global-icon> | ||
39 | <span i18n>See all your notifications</span> | ||
40 | </a> | ||
31 | </div> | 41 | </div> |
32 | </ng-template> | 42 | </ng-template> |