From 0b016adc2aea175d9257e4804d1931c819129429 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 4 Aug 2022 21:21:39 +0000 Subject: [PATCH] --- ayanova/src/main.js | 2 +- ayanova/src/views/adm-license.vue | 2 +- ayanova/src/views/login.vue | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ayanova/src/main.js b/ayanova/src/main.js index f8674ce3..c40d1b8b 100644 --- a/ayanova/src/main.js +++ b/ayanova/src/main.js @@ -65,7 +65,7 @@ import chartBarHorizontalControl from "./components/chart-bar-horizontal-control //************************************************************** //DEVELOPMENT MODE FLAG, SET FALSE FOR RELEASE //************************************************************ -const DEV_MODE = false; +const DEV_MODE = true; //************************************************************ //************************************************************** //************************************************************** diff --git a/ayanova/src/views/adm-license.vue b/ayanova/src/views/adm-license.vue index 0118522f..c2323013 100644 --- a/ayanova/src/views/adm-license.vue +++ b/ayanova/src/views/adm-license.vue @@ -303,7 +303,7 @@ export default { methods: { purchaseLink() { return ( - "https://www.ayanova.com/purchase_AyaNova_online.htm?dbid=" + + "https://ayanova.com/r/pricing.htm?dbid=" + window.$gz.store.state.globalSettings.serverDbId ); }, diff --git a/ayanova/src/views/login.vue b/ayanova/src/views/login.vue index 937cfca0..3e1faa30 100644 --- a/ayanova/src/views/login.vue +++ b/ayanova/src/views/login.vue @@ -601,7 +601,9 @@ export default { const vm = this; await processLogin(res.data, vm.loggedInWithKnownPassword); //check if support and updates has expired and is paid for license and show warning if so + //but not to customer logins, that's just shaming and will anger people if ( + !vm.$store.getters.isCustomerUser && vm.$store.state.globalSettings.maintenanceExpired && (vm.$store.state.globalSettings.licenseStatus == 3 || vm.$store.state.globalSettings.licenseStatus == 4) @@ -611,7 +613,7 @@ export default { "MaintenanceExpiredNote", "MaintenanceExpired", "error", - "https://www.ayanova.com/subscriptionexpired.htm" + "https://ayanova.com/docs/adm-license/#maintenance-expired-message" ); })(); }