fix display options
This commit is contained in:
parent
b481a0cdfa
commit
342c8e7ea6
1 changed files with 27 additions and 28 deletions
|
|
@ -7,12 +7,19 @@
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div ng-if="PNEnabledByUser">
|
|
||||||
<div class="item item-divider" translate>Notifications</div>
|
<div class="item item-divider" translate>Notifications</div>
|
||||||
|
|
||||||
|
<div ng-if="PNEnabledByUser">
|
||||||
<ion-toggle ng-model="pushNotifications.value" toggle-class="toggle-balanced" ng-change="pushNotificationsChange()" ng-if="usePushNotifications">
|
<ion-toggle ng-model="pushNotifications.value" toggle-class="toggle-balanced" ng-change="pushNotificationsChange()" ng-if="usePushNotifications">
|
||||||
<span class="toggle-label" translate>Enable push notifications</span>
|
<span class="toggle-label" translate>Enable push notifications</span>
|
||||||
</ion-toggle>
|
</ion-toggle>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div ng-if="!PNEnabledByUser && isIOSApp">
|
||||||
|
<div class="padding text-light" translate>
|
||||||
|
Push notifications for {{appName}} are currently disabled. Enable them in the Settings app.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ion-toggle ng-model="emailNotifications.value" toggle-class="toggle-balanced" ng-change="emailNotificationsChange()">
|
<ion-toggle ng-model="emailNotifications.value" toggle-class="toggle-balanced" ng-change="emailNotificationsChange()">
|
||||||
<span class="toggle-label" translate>Enable email notifications</span>
|
<span class="toggle-label" translate>Enable email notifications</span>
|
||||||
|
|
@ -39,13 +46,5 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-if="!PNEnabledByUser && isIOSApp">
|
|
||||||
<div class="item item-divider" translate>Notifications</div>
|
|
||||||
<div class="padding text-light" translate>
|
|
||||||
Push notifications for {{appName}} are currently disabled. Enable them in the Settings app.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue