From 98d9323534b2140ad4e371869dd408c055aabd0d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 10 Nov 2020 08:07:49 +0100 Subject: [PATCH] ui: add link to www.proxmox.com for subscription plans --- www/Dashboard.js | 2 +- www/Utils.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/www/Dashboard.js b/www/Dashboard.js index 6d5ccc27..f18fc2c1 100644 --- a/www/Dashboard.js +++ b/www/Dashboard.js @@ -394,7 +394,7 @@ Ext.define('PBS.dashboard.SubscriptionInfo', { break; case 0: icon = 'times-circle critical'; - message = gettext('This node does not have a subscription.'); + message = gettext('

No valid subscription

' + PBS.Utils.noSubKeyHtml); break; default: throw 'invalid subscription status'; diff --git a/www/Utils.js b/www/Utils.js index d459eec7..a84ef664 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -50,6 +50,8 @@ Ext.define('PBS.Utils', { } }, + noSubKeyHtml: 'You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.', + getDataStoreFromPath: function(path) { return path.slice(PBS.Utils.dataStorePrefix.length); },