[pmg-devel] [PATCH pmg-gui 2/2] disclaimer edit: add 'add-separator' checkbox

Dominik Csapak d.csapak at proxmox.com
Tue Jan 9 14:59:06 CET 2024


for controlling if the separator should be included or not, default is
on (backend default).

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/Utils.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/js/Utils.js b/js/Utils.js
index daf0934..8529873 100644
--- a/js/Utils.js
+++ b/js/Utils.js
@@ -691,6 +691,13 @@ Ext.define('PMG.Utils', {
 		    name: 'top',
 		    fieldLabel: gettext("On Top"),
 		},
+		{
+		    xtype: 'proxmoxcheckbox',
+		    name: 'add-separator',
+		    fieldLabel: gettext("Add Separator"),
+		    uncheckedValue: 0,
+		    value: true,
+		},
 	    ],
 	},
     },
-- 
2.30.2





More information about the pmg-devel mailing list