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 [inputName]=
"'web-notification-' + notificationType"
16 [(ngModel)]=
"webNotifications[notificationType]"
17 (ngModelChange)=
"updateWebSetting(notificationType, webNotifications[notificationType])"
21 <div *
ngIf=
"emailEnabled">
23 [inputName]=
"'email-notification-' + notificationType"
24 [(ngModel)]=
"emailNotifications[notificationType]"
25 (ngModelChange)=
"updateEmailSetting(notificationType, emailNotifications[notificationType])"