From a2abf3b0f04e698a08f45c8a5732aab89e672d5d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 4 May 2023 00:49:19 +0000 Subject: [PATCH] case 4522 --- ayanova/src/api/translation.js | 3 ++- ayanova/src/views/login.vue | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index a4d7deab..667b557a 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -289,7 +289,8 @@ export default { "RenderingReport", "Settings", "IntegrationList", - "ServerUpdateAvailable" + "ServerUpdateAvailable", + "LicenseExpirationDays" ], //////////////////////////////////////////////////////// diff --git a/ayanova/src/views/login.vue b/ayanova/src/views/login.vue index 0993139a..b2e62e25 100644 --- a/ayanova/src/views/login.vue +++ b/ayanova/src/views/login.vue @@ -642,6 +642,18 @@ export default { ); } + //Show license expiration period days left (if it's set to willexpire) + if (vm.$store.state.globalSettings.licenseExpirationDays > -1) { + window.$gz.eventBus.$emit( + "notify-info", + `${vm.$ay.t("LicenseExpirationDays")}: ${ + vm.$store.state.globalSettings.licenseExpirationDays + }`, + null, + 5000 + ); + } + const toPath = vm.$route.params.topath; //set in app.vue::mounted if (toPath != undefined) { //open the url indicated