1 <div *ngIf="webNotifications">
2 <ng-container *ngFor="let group of notificationSettingGroups">
3 <div class="header notification-row">
4 <div i18n>{{ group.label }}</div>
6 <div i18n *ngIf="emailEnabled">Email</div>
9 <ng-container *ngFor="let notificationType of group.keys">
10 <div class="small notification-row" *ngIf="hasUserRight(notificationType)">
11 <div>{{ labelNotifications[notificationType] }}</div>
15 [(ngModel)]="webNotifications[notificationType]"
16 (ngModelChange)="updateWebSetting(notificationType, webNotifications[notificationType])"
20 <div *ngIf="emailEnabled">
22 [(ngModel)]="emailNotifications[notificationType]"
23 (ngModelChange)="updateEmailSetting(notificationType, emailNotifications[notificationType])"