]> 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
fix user preferences column width for notifications table (#3352)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-notification-preferences / my-account-notification-preferences.component.html
CommitLineData
2f1548fd
C
1<div class="custom-row">
2 <div i18n>Activities</div>
3 <div i18n>Web</div>
4 <div i18n *ngIf="emailEnabled">Email</div>
5</div>
6
8ce1ba6e
C
7<ng-container *ngFor="let notificationType of notificationSettingKeys">
8 <div class="custom-row" *ngIf="hasUserRight(notificationType)">
2f1548fd
C
9 <div>{{ labelNotifications[notificationType] }}</div>
10
11 <div>
4f926722
C
12 <my-input-switch
13 [(ngModel)]="webNotifications[notificationType]"
14 (ngModelChange)="updateWebSetting(notificationType, webNotifications[notificationType])"
15 ></my-input-switch>
2f1548fd
C
16 </div>
17
18 <div *ngIf="emailEnabled">
4f926722
C
19 <my-input-switch
20 [(ngModel)]="emailNotifications[notificationType]"
21 (ngModelChange)="updateEmailSetting(notificationType, emailNotifications[notificationType])"
22 ></my-input-switch>
2f1548fd 23 </div>
8ce1ba6e
C
24 </div>
25</ng-container>