public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] applied: [PATCH manager] ui: fix PBS edit typos
@ 2020-08-19 13:49 Thomas Lamprecht
  0 siblings, 0 replies; only message in thread
From: Thomas Lamprecht @ 2020-08-19 13:49 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---

replaces
https://lists.proxmox.com/pipermail/pve-devel/2020-August/044629.html

 www/manager6/storage/PBSEdit.js | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/www/manager6/storage/PBSEdit.js b/www/manager6/storage/PBSEdit.js
index 0562a17b..99ce058e 100644
--- a/www/manager6/storage/PBSEdit.js
+++ b/www/manager6/storage/PBSEdit.js
@@ -13,16 +13,13 @@ Ext.define('Proxmox.form.PBSEncryptionCheckbox', {
 	    blabel: (get) => {
 		let v = get('value');
 		let original = get('originalValue');
-		if (get('isCreate')) {
-		    return gettext('Auto-generate a client encryption key, safed privately on cluster.');
-		}
-		if (original) {
+		if (!get('isCreate') && original) {
 		    if (!v) {
-			return gettext('Warning: Existing encryption Key will be deleted!');
+			return gettext('Warning: Existing encryption key will be deleted!');
 		    }
 		    return gettext('Active');
 		} else {
-		    return gettext('Auto-generate a client encryption key, safed privately on cluster filesystem');
+		    return gettext('Auto-generate a client encryption key, saved privately on cluster filesystem');
 		}
 	    },
 	},
-- 
2.20.1





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-19 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 13:49 [pve-devel] applied: [PATCH manager] ui: fix PBS edit typos Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal