diff --git a/www/js/config.js b/www/js/config.js index c18ad1bc1fc16f55276307c9af56857d2ff009ed..76ab827f8d15ab7c80a9f071c270c091ceca6628 100644 --- a/www/js/config.js +++ b/www/js/config.js @@ -10,8 +10,8 @@ angular.module("cesium.config", []) .constant("csConfig", { "cacheTimeMs": 300000, - "demo": true, - "readonly": true, + "demo": false, + "readonly": false, "fallbackLanguage": "fr", "rememberMe": true, "showUDHistory": true, @@ -114,7 +114,7 @@ angular.module("cesium.config", []) } }, "version": "1.6.7", - "build": "2020-05-05T19:19:12.082Z", + "build": "2020-05-06T08:33:48.177Z", "newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new" }) diff --git a/www/templates/join/modal_choose_account_type.html b/www/templates/join/modal_choose_account_type.html index b2d0e5764acdee59f1a12feddb8e6a47f1153b6e..b04858316ed08a2a7723daa454e88ca4db3eb3c9 100644 --- a/www/templates/join/modal_choose_account_type.html +++ b/www/templates/join/modal_choose_account_type.html @@ -87,7 +87,7 @@ <i class="item-image icon dark ion-card"></i> <h2 translate>ACCOUNT.NEW.WALLET_ACCOUNT</h2> <h4 class="gray" translate>ACCOUNT.NEW.WALLET_ACCOUNT_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </button> @@ -99,7 +99,7 @@ <i class="item-image icon dark ion-person"></i> <h2 translate>ACCOUNT.NEW.MEMBER_ACCOUNT</h2> <h4 class="gray" ng-bind-html="'ACCOUNT.NEW.MEMBER_ACCOUNT_HELP'|translate:currency"></h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </button> diff --git a/www/templates/settings/settings.html b/www/templates/settings/settings.html index 7e75e002cb093950e6bd1737a10d6a63b52cd9dc..9be97a6fd8ada91d7a3a3653baf6fbafc1606201 100644 --- a/www/templates/settings/settings.html +++ b/www/templates/settings/settings.html @@ -131,7 +131,7 @@ <div class="input-label hidden-xs" ng-class="::{'gray': $root.config.demo}"> <span class="hidden-xs" translate>SETTINGS.KEEP_AUTH</span> <h4 class="gray text-wrap hidden-xs" ng-bind-html="'SETTINGS.KEEP_AUTH_HELP' | translate"></h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> </div> <span class="visible-xs" ng-class="::{'gray': $root.config.demo}" translate>SETTINGS.KEEP_AUTH_SHORT</span> diff --git a/www/templates/wallet/modal_security.html b/www/templates/wallet/modal_security.html index 5528359edaa6e199895daf3bb81d5a5ebe786171..814694fcddc73e8a11c32567aa309c6999a31a45 100644 --- a/www/templates/wallet/modal_security.html +++ b/www/templates/wallet/modal_security.html @@ -42,7 +42,7 @@ <h2 translate>ACCOUNT.SECURITY.RECOVER_ID</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.RECOVER_ID_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right" ng-if="::!$root.config.demo"></i> </div> </div> @@ -66,7 +66,7 @@ <b class="ion-locked icon-secondary dark" style="top: 0px; left: 40px; font-size: 8px;"></b> <h2 translate>ACCOUNT.SECURITY.SAVE_ID</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.SAVE_ID_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </div> @@ -79,7 +79,7 @@ <b class="ion-key icon-secondary dark" style="top: -8px; left: 42px; font-size: 12px;"></b> <h2 translate>ACCOUNT.SECURITY.GENERATE_KEYFILE</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.GENERATE_KEYFILE_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </div> @@ -92,7 +92,7 @@ <b class="ion-close icon-secondary dark" style="top: 0px; left: 40px; font-size: 8px;"></b> <h2 translate>ACCOUNT.SECURITY.DOWNLOAD_REVOKE</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.DOWNLOAD_REVOKE_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-android-archive"></i> </div> </div> @@ -104,7 +104,7 @@ <b class="ion-flag icon-secondary dark" style="top: -8px; left: 39px; font-size: 12px;"></b> <h2 translate>ACCOUNT.SECURITY.SEND_IDENTITY</h2> <h4 class="gray" ng-bind-html="::'ACCOUNT.SECURITY.SEND_IDENTITY_HELP' | translate"></h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> </div> </div> @@ -115,7 +115,7 @@ <b class="ion-plus icon-secondary dark" style="top: -8px; left: 39px; font-size: 12px;"></b> <h2 translate>ACCOUNT.SECURITY.MEMBERSHIP_IN</h2> <h4 class="gray" ng-bind-html="::'ACCOUNT.SECURITY.MEMBERSHIP_IN_HELP' | translate"></h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> </div> </div> @@ -126,7 +126,7 @@ <b class="ion-close icon-secondary assertive-900" style="top: -8px; left: 39px; font-size: 12px;"></b> <h2 translate>ACCOUNT.SECURITY.REVOCATION_WALLET</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.REVOCATION_WALLET_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_not_available.html'"></ng-include> + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> </div> </div> </div> diff --git a/www/templates/wallet/slides/slides_generate_keyfile.html b/www/templates/wallet/slides/slides_generate_keyfile.html index 895a0439bc52c3541fb0001a051c73320fa08486..7f1581123af5c720346ba68854fc684ee13c0a6a 100644 --- a/www/templates/wallet/slides/slides_generate_keyfile.html +++ b/www/templates/wallet/slides/slides_generate_keyfile.html @@ -12,7 +12,7 @@ <b class="ion-ios-redo icon-secondary dark" style="top: -8px; left: 42px; font-size: 12px;"></b> <h2 translate>ACCOUNT.SECURITY.KEYFILE.PUBSEC_FORMAT</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.KEYFILE.PUBSEC_FORMAT_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_no + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </div> @@ -24,7 +24,7 @@ <b class="ion-ios-redo icon-secondary dark" style="top: -8px; left: 42px; font-size: 12px;"></b> <h2 translate>ACCOUNT.SECURITY.KEYFILE.WIF_FORMAT</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.KEYFILE.WIF_FORMAT_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_no + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </div> @@ -37,7 +37,7 @@ <b class="ion-locked icon-secondary dark" style="top: 0px; left: 43px; font-size: 8px;"></b> <h2 translate>ACCOUNT.SECURITY.KEYFILE.EWIF_FORMAT</h2> <h4 class="gray" translate>ACCOUNT.SECURITY.KEYFILE.EWIF_FORMAT_HELP</h4> - <ng-include ng-if="::$root.config.demo" src="::'templates/common/note_feature_no + <ng-if ng-if="::$root.config.demo" ng-include="::'templates/common/note_feature_not_available.html'"></ng-include> <i class="icon dark ion-ios-arrow-right"></i> </div> </div>