website: update external links to www.proxmox.com

During the redesign of www.proxmox.com the menu structure and therefore
some url changed. Update the external link in order to avoid an
unneccessary redirect

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
(cherry picked from commit 347f88fecd938da30fa2cab4724159225cf6f7bb)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Christian Ebner 2023-08-11 12:46:54 +02:00 committed by Thomas Lamprecht
parent df296eae15
commit bcab50eb47
4 changed files with 3 additions and 4 deletions

View File

@ -117,7 +117,7 @@ __PACKAGE__->register_method ({
my $has_permission = $rpcenv->check($authuser, "/nodes/$node", ['Sys.Audit'], 1);
my $server_id = PVE::API2Tools::get_hwaddress();
my $url = "https://www.proxmox.com/proxmox-ve/pricing";
my $url = "https://www.proxmox.com/en/proxmox-virtual-environment/pricing";
my $info = read_etc_subscription();
if (!$info) {

View File

@ -34,7 +34,7 @@ Ext.define('PVE.Utils', {
},
noSubKeyHtml: 'You do not have a valid subscription for this server. Please visit '
+'<a target="_blank" href="https://www.proxmox.com/products/proxmox-ve/subscription-service-plans">'
+'<a target="_blank" href="https://www.proxmox.com/en/proxmox-virtual-environment/pricing">'
+'www.proxmox.com</a> to get a list of available options.',
kvm_ostypes: {

View File

@ -64,7 +64,7 @@ Ext.define('PVE.dc.Summary', {
element: 'el',
click: function() {
if (this.component.userCls === 'pointer') {
window.open('https://www.proxmox.com/en/proxmox-ve/pricing', '_blank');
window.open('https://www.proxmox.com/en/proxmox-virtual-environment/pricing', '_blank');
}
},
},

View File

@ -115,7 +115,6 @@ utilities: {
},
getNoSubKeyHtml: function(url) {
// url http://www.proxmox.com/products/proxmox-ve/subscription-service-plans
return Ext.String.format('You do not have a valid subscription for this server. Please visit <a target="_blank" href="{0}">www.proxmox.com</a> to get a list of available options.', url || 'https://www.proxmox.com');
},