* [pmg-devel] [PATCH pmg-gui] ui: allow 'info' field to be shown in object lists
@ 2024-08-09 5:49 Hannes Laimer
0 siblings, 0 replies; only message in thread
From: Hannes Laimer @ 2024-08-09 5:49 UTC (permalink / raw)
To: pmg-devel
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
---
came up in support, and I couldn't think of a good reason to not
have the option to show the description in the list
js/ObjectGroupList.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/js/ObjectGroupList.js b/js/ObjectGroupList.js
index ab66e92..a2a1ea2 100644
--- a/js/ObjectGroupList.js
+++ b/js/ObjectGroupList.js
@@ -146,6 +146,14 @@ Ext.define('PMG.ObjectGroupList', {
dataIndex: 'name',
renderer: Ext.String.htmlEncode,
},
+ {
+ header: gettext('Description'),
+ sortable: true,
+ flex: 1,
+ dataIndex: 'info',
+ renderer: Ext.String.htmlEncode,
+ hidden: true,
+ },
],
listeners: {
itemdblclick: function() {
--
2.39.2
_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-09 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-09 5:49 [pmg-devel] [PATCH pmg-gui] ui: allow 'info' field to be shown in object lists Hannes Laimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox