all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Elias Huhsovitz <e.huhsovitz@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Elias Huhsovitz <e.huhsovitz@proxmox.com>
Subject: [PATCH manager 4/4] fix #6211: ui: vm: options:
Date: Wed,  8 Jul 2026 15:04:51 +0200	[thread overview]
Message-ID: <20260708130453.166084-5-e.huhsovitz@proxmox.com> (raw)
In-Reply-To: <20260708130453.166084-1-e.huhsovitz@proxmox.com>

The "protection" options was ambiguous.
Add hint to briefly describe the feature.
Add help button that points to Options section containing a description
of the "protection" option.

Signed-off-by: Elias Huhsovitz <e.huhsovitz@proxmox.com>
---
 www/manager6/qemu/Options.js | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/www/manager6/qemu/Options.js b/www/manager6/qemu/Options.js
index 8a4721a0..664606da 100644
--- a/www/manager6/qemu/Options.js
+++ b/www/manager6/qemu/Options.js
@@ -319,13 +319,26 @@ Ext.define('PVE.qemu.Options', {
                     ? {
                           xtype: 'proxmoxWindowEdit',
                           subject: gettext('Protection'),
+                          onlineHelp: 'qm_options',
                           items: {
-                              xtype: 'proxmoxcheckbox',
-                              name: 'protection',
-                              uncheckedValue: 0,
-                              defaultValue: 0,
-                              deleteDefaultValue: true,
-                              fieldLabel: gettext('Enabled'),
+                              xtype: 'inputpanel',
+                              items: [
+                                  {
+                                      xtype: 'proxmoxcheckbox',
+                                      name: 'protection',
+                                      uncheckedValue: 0,
+                                      defaultValue: 0,
+                                      deleteDefaultValue: true,
+                                      fieldLabel: gettext('Enabled'),
+                                  },
+                                  {
+                                      xtype: 'displayfield',
+                                      userCls: 'pmx-hint',
+                                      value: gettext(
+                                          'Prevents the VM and its disks from being removed',
+                                      ),
+                                  },
+                              ],
                           },
                       }
                     : undefined,
-- 
2.47.3





      parent reply	other threads:[~2026-07-08 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08 13:04 [PATCH docs/manager 0/4] manager/docs: fix: #6211: ui: docs: add reference to vm options protection/IDX/SEV Elias Huhsovitz
2026-07-08 13:04 ` [PATCH docs 1/4] qm_memory: update dead links in qm_memory_encryption_sev section on AMD SEV Elias Huhsovitz
2026-07-08 13:04 ` [PATCH docs 2/4] qm_memory: expand qm_memory_encryption documentation to include Intel TDX Elias Huhsovitz
2026-07-08 13:04 ` [PATCH manager 3/4] fix #6211: ui: vm: options: Elias Huhsovitz
2026-07-08 13:04 ` Elias Huhsovitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260708130453.166084-5-e.huhsovitz@proxmox.com \
    --to=e.huhsovitz@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal