From dfb1c006388d7cdb451d80c42a40e1f5de1519c7 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Sat, 15 Apr 2017 16:57:03 +0200 Subject: [PATCH] [fix] Disbale subscription module (not ready yet) --- www/plugins/es/js/services/subscription-services.js | 4 +--- www/plugins/es/templates/wallet/view_wallet_extend.html | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/www/plugins/es/js/services/subscription-services.js b/www/plugins/es/js/services/subscription-services.js index e105799e8..ad98dcdc1 100644 --- a/www/plugins/es/js/services/subscription-services.js +++ b/www/plugins/es/js/services/subscription-services.js @@ -2,7 +2,7 @@ angular.module('cesium.es.subscription.services', ['cesium.services', 'cesium.es .config(function(PluginServiceProvider, csConfig) { 'ngInject'; - var enable = csConfig.plugins && csConfig.plugins.es; + var enable = false; // csConfig.plugins && csConfig.plugins.es; if (enable) { // Will force to load this service PluginServiceProvider.registerEagerLoadingService('esSubscription'); @@ -16,8 +16,6 @@ angular.module('cesium.es.subscription.services', ['cesium.services', 'cesium.es var constants = { }, - regexp = { - }, that = this, listeners; diff --git a/www/plugins/es/templates/wallet/view_wallet_extend.html b/www/plugins/es/templates/wallet/view_wallet_extend.html index d25fe3480..a829dfb26 100644 --- a/www/plugins/es/templates/wallet/view_wallet_extend.html +++ b/www/plugins/es/templates/wallet/view_wallet_extend.html @@ -13,7 +13,7 @@ <ng-include src="'plugins/es/templates/user/items_profile.html'" ng-init="showName=true;"></ng-include> </div> -<!-- subscriptions --> +<!-- subscriptions <div class="item item-divider item-divider-top-border"> {{'SUBSCRIPTION.SUBSCRIPTION_DIVIDER' | translate}} <a class="badge button button-text button-small button-small-padding " @@ -23,8 +23,6 @@ <span translate>SUBSCRIPTION.BTN_ADD</span> </a> </div> - -<!-- subscriptions count --> <div ng-if="!formData.subscriptions.count" class="item gray" translate>SUBSCRIPTION.NO_SUBSCRIPTION</div> @@ -37,3 +35,4 @@ <i class="gray icon ion-ios-arrow-right"></i> </a> +--> -- GitLab