ui: add link to www.proxmox.com for subscription plans
This commit is contained in:
parent
09f1f28800
commit
98d9323534
@ -394,7 +394,7 @@ Ext.define('PBS.dashboard.SubscriptionInfo', {
|
|||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
icon = 'times-circle critical';
|
icon = 'times-circle critical';
|
||||||
message = gettext('This node does not have a subscription.');
|
message = gettext('<h1>No valid subscription</h1>' + PBS.Utils.noSubKeyHtml);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw 'invalid subscription status';
|
throw 'invalid subscription status';
|
||||||
|
@ -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) {
|
getDataStoreFromPath: function(path) {
|
||||||
return path.slice(PBS.Utils.dataStorePrefix.length);
|
return path.slice(PBS.Utils.dataStorePrefix.length);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user