From ca292813eb72089be55b9ee697e311466dde0016 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 22 Sep 2016 11:55:23 -0300 Subject: [PATCH] Adds cache for preferences, walletDetails --- public/views/paperWallet.html | 2 +- public/views/preferences.html | 5 +- public/views/preferencesAbout.html | 2 +- public/views/preferencesAdvanced.html | 2 +- public/views/preferencesAlias.html | 5 +- public/views/preferencesAltCurrency.html | 5 +- public/views/preferencesBwsUrl.html | 3 +- public/views/preferencesColor.html | 5 +- public/views/preferencesDeleteWallet.html | 3 +- public/views/preferencesDeleteWords.html | 5 +- public/views/preferencesEmail.html | 5 +- public/views/preferencesFee.html | 5 +- public/views/preferencesGlidera.html | 2 +- public/views/preferencesHistory.html | 3 +- public/views/preferencesInformation.html | 3 +- public/views/preferencesLanguage.html | 5 +- public/views/preferencesLogs.html | 19 ++--- public/views/preferencesUnit.html | 5 +- public/views/tab-settings.html | 8 +- public/views/termsOfUse.html | 3 +- public/views/translators.html | 2 +- src/js/controllers/addressbook.js | 2 +- src/js/controllers/paperWallet.js | 37 +++++---- src/js/controllers/preferences.js | 45 ++++++----- src/js/controllers/preferencesAbout.js | 4 +- src/js/controllers/preferencesAlias.js | 3 +- src/js/controllers/preferencesAltCurrency.js | 24 +++--- src/js/controllers/preferencesBwsUrl.js | 3 +- src/js/controllers/preferencesColor.js | 3 +- src/js/controllers/preferencesDelete.js | 3 +- src/js/controllers/preferencesDeleteWords.js | 3 +- src/js/controllers/preferencesEmail.js | 3 +- src/js/controllers/preferencesFee.js | 24 +++--- src/js/controllers/preferencesGlidera.js | 52 ++++++------- src/js/controllers/preferencesHistory.js | 7 +- src/js/controllers/preferencesInformation.js | 79 ++++++++++---------- src/js/controllers/preferencesLanguage.js | 14 ++-- src/js/controllers/preferencesLogs.js | 11 ++- src/js/controllers/preferencesUnit.js | 13 ++-- src/js/controllers/tab-home.js | 13 ++-- src/js/controllers/tab-settings.js | 12 +-- src/js/controllers/termOfUse.js | 3 +- src/js/controllers/walletDetails.js | 2 +- src/js/routes.js | 55 ++++++++------ 44 files changed, 271 insertions(+), 241 deletions(-) diff --git a/public/views/paperWallet.html b/public/views/paperWallet.html index 8308826d7..f02c151c1 100644 --- a/public/views/paperWallet.html +++ b/public/views/paperWallet.html @@ -5,7 +5,7 @@ - +

diff --git a/public/views/preferences.html b/public/views/preferences.html index 18b7c15e0..77b2d7ea1 100644 --- a/public/views/preferences.html +++ b/public/views/preferences.html @@ -1,9 +1,12 @@ + + {{'Wallet Preferences'|translate}} + - +
diff --git a/public/views/preferencesAbout.html b/public/views/preferencesAbout.html index f16c2f83a..8bda60d32 100644 --- a/public/views/preferencesAbout.html +++ b/public/views/preferencesAbout.html @@ -3,7 +3,7 @@ - +
Release information diff --git a/public/views/preferencesAdvanced.html b/public/views/preferencesAdvanced.html index e17faed43..32e4f608f 100644 --- a/public/views/preferencesAdvanced.html +++ b/public/views/preferencesAdvanced.html @@ -4,7 +4,7 @@ - +
diff --git a/public/views/preferencesAlias.html b/public/views/preferencesAlias.html index 281c1ec09..fb1c4a1c7 100644 --- a/public/views/preferencesAlias.html +++ b/public/views/preferencesAlias.html @@ -1,9 +1,12 @@ + + {{'Alias'|translate}} + - +

Warning!

Permanently delete this wallet. THIS ACTION CANNOT BE REVERSED
diff --git a/public/views/preferencesDeleteWords.html b/public/views/preferencesDeleteWords.html index 989fd06e5..82461440e 100644 --- a/public/views/preferencesDeleteWords.html +++ b/public/views/preferencesDeleteWords.html @@ -1,9 +1,12 @@ + + {{'Delete recovery phrase'|translate}} + - +
{{error|translate}} diff --git a/public/views/preferencesEmail.html b/public/views/preferencesEmail.html index 428864ff6..488f9a1c2 100644 --- a/public/views/preferencesEmail.html +++ b/public/views/preferencesEmail.html @@ -1,9 +1,12 @@ + + {{'Email Notifications'|translate}} + - +