]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.html
Increase global font size
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-notification-preferences / my-account-notification-preferences.component.html
CommitLineData
dc4e0ddb
C
1<div *ngIf="webNotifications">
2 <ng-container *ngFor="let group of notificationSettingGroups">
5b0ec7cd 3 <div class="header notification-row">
dc4e0ddb
C
4 <div i18n>{{ group.label }}</div>
5 <div i18n>Web</div>
6 <div i18n *ngIf="emailEnabled">Email</div>
7 </div>
2f1548fd 8
dc4e0ddb 9 <ng-container *ngFor="let notificationType of group.keys">
5b0ec7cd 10 <div class="small notification-row" *ngIf="hasUserRight(notificationType)">
dc4e0ddb 11 <div>{{ labelNotifications[notificationType] }}</div>
2f1548fd 12
dc4e0ddb
C
13 <div>
14 <my-input-switch
15 [(ngModel)]="webNotifications[notificationType]"
16 (ngModelChange)="updateWebSetting(notificationType, webNotifications[notificationType])"
17 ></my-input-switch>
18 </div>
2f1548fd 19
dc4e0ddb
C
20 <div *ngIf="emailEnabled">
21 <my-input-switch
22 [(ngModel)]="emailNotifications[notificationType]"
23 (ngModelChange)="updateEmailSetting(notificationType, emailNotifications[notificationType])"
24 ></my-input-switch>
25 </div>
26 </div>
27 </ng-container>
28 </ng-container>
29</div>