[pve-devel] [PATCH pve-manager] website: update external links to www.proxmox.com

Christian Ebner c.ebner at proxmox.com
Fri Aug 11 12:46:54 CEST 2023


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 at proxmox.com>
---
 PVE/API2/Subscription.pm         | 2 +-
 aplinfo/aplinfo.dat              | 4 ++--
 www/manager6/Utils.js            | 2 +-
 www/manager6/dc/Summary.js       | 2 +-
 www/mobile/WidgetToolkitUtils.js | 1 -
 5 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/PVE/API2/Subscription.pm b/PVE/API2/Subscription.pm
index c7b81ee9..96fcd4e5 100644
--- a/PVE/API2/Subscription.pm
+++ b/PVE/API2/Subscription.pm
@@ -128,7 +128,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) {
diff --git a/aplinfo/aplinfo.dat b/aplinfo/aplinfo.dat
index 95a8be5a..8382bd7d 100644
--- a/aplinfo/aplinfo.dat
+++ b/aplinfo/aplinfo.dat
@@ -135,7 +135,7 @@ Architecture: amd64
 Location: mail/proxmox-mailgateway-7.3-standard_7.3-1_amd64.tar.zst
 md5sum: 6c130003f9880ae66dca0603d7b7ca87
 sha512sum: 2fdf1dc24306bbaa2ef9a0f322416ca15b97b7d19f84b83743c7afc896095c398241fbc2eb41a33a69f3f275ce4c4cb6425edc5538831b4650d39a5e44fdbc25
-Infopage: https://www.proxmox.com/de/proxmox-mail-gateway
+Infopage: https://www.proxmox.com/en/proxmox-mail-gateway/overview
 Description: Proxmox Mailgateway 7.3
  A full featured mail proxy for spam and virus filtering, optimized for container environment.
 
@@ -149,7 +149,7 @@ Architecture: amd64
 Location: mail/proxmox-mailgateway-8.0-standard_8.0-1_amd64.tar.zst
 md5sum: 7d321e5dfc6e1005231586d1871e3625
 sha512sum: be5efcb8ee97f2bb1c638360191eda19f49e2063acb88da55c948c90c091063972cc9ea29e6aeaa4a85733e0fb2c99ea905d665ac693cb2bf06b091c4baf781f
-Infopage: https://www.proxmox.com/de/proxmox-mail-gateway
+Infopage: https://www.proxmox.com/en/proxmox-mail-gateway/overview
 Description: Proxmox Mailgateway 8.0
  A full featured mail proxy for spam and virus filtering, optimized for container environment.
 
diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 4e094213..6d4842df 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -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.',
 
     getClusterSubscriptionLevel: async function() {
diff --git a/www/manager6/dc/Summary.js b/www/manager6/dc/Summary.js
index 371c8980..efb44dae 100644
--- a/www/manager6/dc/Summary.js
+++ b/www/manager6/dc/Summary.js
@@ -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');
 			    }
 			},
 		    },
diff --git a/www/mobile/WidgetToolkitUtils.js b/www/mobile/WidgetToolkitUtils.js
index e11aa89e..b292fcd5 100644
--- a/www/mobile/WidgetToolkitUtils.js
+++ b/www/mobile/WidgetToolkitUtils.js
@@ -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');
     },
 
-- 
2.39.2






More information about the pve-devel mailing list