add toggle for email notifications

This commit is contained in:
Javier 2016-10-28 10:13:40 -03:00
commit 410d35495b
6 changed files with 100 additions and 49 deletions

View file

@ -10,9 +10,13 @@
<div ng-show="PNEnabledByUser">
<div class="item item-divider" translate>Notifications</div>
<ion-toggle ng-model="pushNotifications.value" toggle-class="toggle-balanced" ng-change="pushNotificationsChange()">
<ion-toggle ng-model="pushNotifications.value" toggle-class="toggle-balanced" ng-change="pushNotificationsChange()" ng-show="usePushNotifications">
<span class="toggle-label" translate>Enable push notifications</span>
</ion-toggle>
<ion-toggle ng-model="emailNotifications.value" toggle-class="toggle-balanced" ng-change="emailNotificationsChange()">
<span class="toggle-label" translate>Enable email notifications</span>
</ion-toggle>
</div>
<div ng-show="!PNEnabledByUser && isIOSApp">