ui: add link to www.proxmox.com for subscription plans

This commit is contained in:
Dietmar Maurer 2020-11-10 08:07:49 +01:00
parent 09f1f28800
commit 98d9323534
2 changed files with 3 additions and 1 deletions

View File

@ -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('<h1>No valid subscription</h1>' + PBS.Utils.noSubKeyHtml);
break;
default:
throw 'invalid subscription status';

View File

@ -50,6 +50,8 @@ Ext.define('PBS.Utils', {
}
},
noSubKeyHtml: 'You do not have a valid subscription for this server. Please visit <a target="_blank" href="https://www.proxmox.com/proxmox-backup-server/pricing">www.proxmox.com</a> to get a list of available options.',
getDataStoreFromPath: function(path) {
return path.slice(PBS.Utils.dataStorePrefix.length);
},