]> git.proxmox.com Git - pmg-gui.git/commitdiff
disclaimer edit: add position comobobox
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 15 Jan 2024 11:12:40 +0000 (12:12 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Feb 2024 15:34:37 +0000 (16:34 +0100)
to enable setting the disclaimer position

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/Utils.js

index 7fa154eab560ca075be83ca859de9614132eac3b..974df1fc0f64a94b22461e726855ab2c15960c9a 100644 (file)
@@ -686,6 +686,17 @@ Ext.define('PMG.Utils', {
                    growMax: 250,
                    fieldLabel: gettext("Disclaimer"),
                },
+               {
+                   xtype: 'proxmoxKVComboBox',
+                   name: 'position',
+                   fieldLabel: gettext("Position"),
+                   deleteEmpty: false,
+                   value: 'end',
+                   comboItems: [
+                       ['end', gettext('End')],
+                       ['start', gettext('Start')],
+                   ],
+               },
            ],
        },
     },