]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: dc options: add Color-Overrides text to render, if any
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Nov 2022 07:48:53 +0000 (08:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Nov 2022 07:48:53 +0000 (08:48 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/OptionView.js

index f32d9eee0b5a6392d13105300dc7e4243fe89fb5..efdf3ac5379168bde8709e4618180a2a700e9d02 100644 (file)
@@ -345,10 +345,10 @@ Ext.define('PVE.dc.OptionView', {
                let orderText = PVE.Utils.tagOrderOptions[value.ordering ?? '__default__'];
                txt += `, ${Ext.String.format(gettext("Ordering: {0}"), orderText)}`;
                if (Object.keys(colors).length > 0) {
-                   txt += ', ';
-               }
-               for (const tag of Object.keys(colors)) {
-                   txt += Proxmox.Utils.getTagElement(tag, colors);
+                   txt += `, ${gettext('Color Overrides')}: `;
+                   for (const tag of Object.keys(colors)) {
+                       txt += Proxmox.Utils.getTagElement(tag, colors);
+                   }
                }
                return txt;
            },