aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-settings/my-account-notification-preferences
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-09 10:42:07 +0200
committerChocobozzz <me@florianbigard.com>2019-04-09 10:42:07 +0200
commit8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac (patch)
tree10fb184225bea38057979019c0427f893b03f77c /client/src/app/+my-account/my-account-settings/my-account-notification-preferences
parent846751c98b8704c09234688be6e7e23b837a3739 (diff)
downloadPeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.gz
PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.zst
PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.zip
Add new instance follower notification in client
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-notification-preferences')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.html b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.html
index 59422d682..93e294a96 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.html
+++ b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.html
@@ -4,8 +4,8 @@
4 <div i18n *ngIf="emailEnabled">Email</div> 4 <div i18n *ngIf="emailEnabled">Email</div>
5</div> 5</div>
6 6
7<div class="custom-row" *ngFor="let notificationType of notificationSettingKeys"> 7<ng-container *ngFor="let notificationType of notificationSettingKeys">
8 <ng-container *ngIf="hasUserRight(notificationType)"> 8 <div class="custom-row" *ngIf="hasUserRight(notificationType)">
9 <div>{{ labelNotifications[notificationType] }}</div> 9 <div>{{ labelNotifications[notificationType] }}</div>
10 10
11 <div> 11 <div>
@@ -15,5 +15,5 @@
15 <div *ngIf="emailEnabled"> 15 <div *ngIf="emailEnabled">
16 <p-inputSwitch [(ngModel)]="emailNotifications[notificationType]" (onChange)="updateEmailSetting(notificationType, $event.checked)"></p-inputSwitch> 16 <p-inputSwitch [(ngModel)]="emailNotifications[notificationType]" (onChange)="updateEmailSetting(notificationType, $event.checked)"></p-inputSwitch>
17 </div> 17 </div>
18 </ng-container> 18 </div>
19</div> 19</ng-container>