From fb117ba1ba4def62072286749ba7940319923976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Wed, 28 Sep 2016 10:50:33 -0300 Subject: [PATCH 1/2] add notifications settings --- public/views/preferencesNotifications.html | 29 +++++++++++ public/views/tab-settings.html | 24 +++------ .../controllers/preferencesNotifications.js | 52 +++++++++++++++++++ src/js/controllers/tab-settings.js | 37 +------------ src/js/routes.js | 11 +++- src/sass/views/notifications.scss | 43 +++++++++++++++ 6 files changed, 142 insertions(+), 54 deletions(-) create mode 100644 public/views/preferencesNotifications.html create mode 100644 src/js/controllers/preferencesNotifications.js create mode 100644 src/sass/views/notifications.scss diff --git a/public/views/preferencesNotifications.html b/public/views/preferencesNotifications.html new file mode 100644 index 000000000..8b54a93e2 --- /dev/null +++ b/public/views/preferencesNotifications.html @@ -0,0 +1,29 @@ + + + {{'Notifications' | translate}} + + + + + +
+
+
Notifications
+ + + Enable push notifications + +
+ +
+
Notifications
+
+ Push notifications for Copay are currently disabled. Enable them in the Settings app. +
+ + Open Settings app + +
+
+
+
diff --git a/public/views/tab-settings.html b/public/views/tab-settings.html index cb9113da9..efdff84ad 100644 --- a/public/views/tab-settings.html +++ b/public/views/tab-settings.html @@ -14,6 +14,12 @@
Preferences
+ + + Notifications + + + Language @@ -50,24 +56,6 @@ -
-
Notifications
- - - Enable push notifications - -
- -
-
Notifications
-
- Push notifications for Copay are currently disabled. Enable them in the Settings app. -
- - Open Settings app - -
-
Wallets Preferences
Date: Wed, 28 Sep 2016 11:59:42 -0300 Subject: [PATCH 2/2] switch advanced and about --- public/views/tab-settings.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/public/views/tab-settings.html b/public/views/tab-settings.html index efdff84ad..0231d8d99 100644 --- a/public/views/tab-settings.html +++ b/public/views/tab-settings.html @@ -71,13 +71,6 @@ -
- - - About {{appName}} - - -
Advanced @@ -85,6 +78,11 @@
+ + + About {{appName}} + +