]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
ui: dc/options: show depreacation notice in u2f settings
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 16:44:03 +0000 (17:44 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 16:44:03 +0000 (17:44 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/OptionView.js

index 94664ecc21926fc1a60af74dd76d2c79b3bebca9..0c088efd8c93bffcb9b08013d5d600362315a6a5 100644 (file)
@@ -161,6 +161,12 @@ Ext.define('PVE.dc.OptionView', {
                skipEmptyText: true,
                submitEmptyText: false,
            },
+           {
+               xtype: 'box',
+               height: 25,
+               html: `<span class='pmx-hint'>${gettext('Note:')}</span> `
+                   + Ext.String.format(gettext('{0} is deprecated, use {1}'), 'U2F', 'WebAuthn'),
+           },
            {
                xtype: 'displayfield',
                userCls: 'pmx-hint',