]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: restore: display "Hostname" for container
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 28 Apr 2022 07:04:09 +0000 (09:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 08:45:17 +0000 (10:45 +0200)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
www/manager6/window/Restore.js

index 9f52c872e17fa61a1c24a5c6ecf74b24865667c9..afac38bafa0f9e712c8f6c5b9689c46bab560b4f 100644 (file)
@@ -304,7 +304,7 @@ Ext.define('PVE.window.Restore', {
            items: [
                {
                    xtype: 'textfield',
-                   fieldLabel: gettext('Name'),
+                   fieldLabel: me.vmtype === 'lxc' ? gettext('Hostname') : gettext('Name'),
                    name: 'name',
                    reference: 'nameField',
                    allowBlank: true,