fix display options
This commit is contained in:
parent
b481a0cdfa
commit
342c8e7ea6
1 changed files with 27 additions and 28 deletions
|
|
@ -7,45 +7,44 @@
|
||||||
|
|
||||||
<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>
|
||||||
|
|
||||||
<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 ng-if="emailNotifications.value">
|
|
||||||
<div class="settings-explanation">
|
|
||||||
<div class="settings-description" translate>
|
|
||||||
You'll receive email notifications about payments sent and received from your wallets.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form name="emailForm" ng-submit="save()" novalidate>
|
|
||||||
<div class="list settings-input-group">
|
|
||||||
<label class="item item-input item-stacked-label">
|
|
||||||
<span class="input-label" translate>Email Address</span>
|
|
||||||
<input type="email" id="email" name="email" ng-model="newEmail.value" required></input>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<button type="submit"
|
|
||||||
class="button button-standard button-primary"
|
|
||||||
ng-disabled="emailForm.$invalid || (newEmail.value == latestEmail.value)" translate>Save
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-if="!PNEnabledByUser && isIOSApp">
|
<div ng-if="!PNEnabledByUser && isIOSApp">
|
||||||
<div class="item item-divider" translate>Notifications</div>
|
|
||||||
<div class="padding text-light" translate>
|
<div class="padding text-light" translate>
|
||||||
Push notifications for {{appName}} are currently disabled. Enable them in the Settings app.
|
Push notifications for {{appName}} are currently disabled. Enable them in the Settings app.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<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 ng-if="emailNotifications.value">
|
||||||
|
<div class="settings-explanation">
|
||||||
|
<div class="settings-description" translate>
|
||||||
|
You'll receive email notifications about payments sent and received from your wallets.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form name="emailForm" ng-submit="save()" novalidate>
|
||||||
|
<div class="list settings-input-group">
|
||||||
|
<label class="item item-input item-stacked-label">
|
||||||
|
<span class="input-label" translate>Email Address</span>
|
||||||
|
<input type="email" id="email" name="email" ng-model="newEmail.value" required></input>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<button type="submit"
|
||||||
|
class="button button-standard button-primary"
|
||||||
|
ng-disabled="emailForm.$invalid || (newEmail.value == latestEmail.value)" translate>Save
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue