Skip to content

Commit

Permalink
Adding 'community edition' strings
Browse files Browse the repository at this point in the history
Similar to github:chriswayg/proxmox-server-scripts replace all 'no
subscription' texts with a 'community edition' string.
  • Loading branch information
lnxbil committed Nov 4, 2016
1 parent 684b3ea commit 8f7eddc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
pve-no-subscription (1.2) UNRELEASED; urgency=low

* present as 'community edition' similar what
github:chriswayg/proxmox-server-scripts does

-- Andreas Steinel <[email protected]> Fri, 04 Nov 2016 10:36:34 +0100

pve-no-subscription (1.1) UNRELEASED; urgency=low

* Added patch for ext4 and ext6 version of pvemanager
Expand Down
17 changes: 17 additions & 0 deletions no-subscription-warning-ext6.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
--- /usr/share/pve-manager/ext6/pvemanagerlib.js.orig 2016-04-25 10:47:04.345151970 +0200
+++ /usr/share/pve-manager/ext6/pvemanagerlib.js 2016-04-25 10:46:35.821675213 +0200
@@ -275,7 +275,7 @@
'p': gettext('Premium')
},

- noSubKeyHtml: 'You do not have a valid subscription for this server. Please visit <a target="_blank" href="http://www.proxmox.com/products/proxmox-ve/subscription-service-plans">www.proxmox.com</a> to get a list of available options.',
+ noSubKeyHtml: 'This server is receiving updates from the Proxmox VE No-Subscription Repository. Please visit <a target="_blank" href="http://www.proxmox.com/products/proxmox-ve/subscription-service-plans">www.proxmox.com</a> to get a list of available options.',

kvm_ostypes: {
other: gettext('Other OS types'),
@@ -507,7 +507,7 @@
success: function(response, opts) {
var data = response.result.data;
Expand All @@ -9,4 +18,12 @@
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,
@@ -32662,7 +32662,7 @@
alias: 'widget.pveDcSupport',
pveGuidePath: '/pve-docs/index.html',

- invalidHtml: '<h1>No valid subscription</h1>' + PVE.Utils.noSubKeyHtml,
+ invalidHtml: '<h1>Community Edition</h1>' + PVE.Utils.noSubKeyHtml,

communityHtml: 'Please use the public community <a target="_blank" href="http://forum.proxmox.com">forum</a> for any questions.',

0 comments on commit 8f7eddc

Please sign in to comment.