pve-manager/www/manager6/lxc
Michael Köppl 708de5b341 close #3181: ui: display guest name in confirm dialogs
The confirmation dialogs of the following actions are affected by this
change:
* Remove
* Clone
* Migrate
* Snapshot
* Snapshot restore
* Backup VM/CT from config view
* Restore VM/CT from config view

A combination of VM/CT id and name is added to each confirmation dialog.
The order of id and name depends on the sort field selected in the tree
settings. If "Name" is selected, the confirmation dialogs will show "VM
name (VMID)". In any other case, "VMID (VM name)" will be used.

The VM/CT name is considered optional in all handled cases. If it is
undefined, only the VMID will be displayed in the dialog window. No
exceptions are thrown in case of an undefined guest name because it
only extends the information displayed to the user and is not essential
for performing any of the actions above.

Signed-off-by: Michael Köppl <m.koeppl@proxmox.com>
2025-04-07 14:07:35 +02:00
..
CmdMenu.js close #3181: ui: display guest name in confirm dialogs 2025-04-07 14:07:35 +02:00
Config.js close #3181: ui: display guest name in confirm dialogs 2025-04-07 14:07:35 +02:00
CreateWizard.js ui: lxc create: do not suggest nesting is enabled for privileged CTs 2025-03-24 10:14:13 +01:00
DeviceEdit.js ui: lxc: add readonly option for device passthrough 2024-10-24 19:22:23 +02:00
DNS.js ui: eslint: Remove useless escapes 2021-05-18 15:22:05 +02:00
FeaturesEdit.js ui: lxc options: change CIFS to SMB/CIFS 2021-10-05 07:37:22 +02:00
MPEdit.js ui: lxc: add the "discard" mount option 2024-11-10 20:14:59 +01:00
MPResize.js fix #4551: ui: use gettext on hardcoded byte units 2023-07-05 09:12:57 +02:00
MultiMPEdit.js utils: clarify naming of LXC mount point utils 2024-04-17 10:51:21 +02:00
Network.js lxc: Add Disconnect option for network interfaces 2023-03-16 16:04:10 +01:00
Options.js ui: lxc options: disable features edit as non-root when container is privileged 2022-03-16 16:23:49 +01:00
ResourceEdit.js fix typos in comments 2024-07-22 18:28:18 +02:00
Resources.js ui: hardware/resources: htmlEncode volume ids configs 2025-01-20 11:34:56 +01:00