From: Hannes Laimer <h.laimer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH proxmox-widget-toolkit 1/1] ui: disks: add 'mounted' column
Date: Wed, 8 Jun 2022 07:10:00 +0000 [thread overview]
Message-ID: <20220608071000.3852-3-h.laimer@proxmox.com> (raw)
In-Reply-To: <20220608071000.3852-1-h.laimer@proxmox.com>
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
---
src/panel/DiskList.js | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/panel/DiskList.js b/src/panel/DiskList.js
index eb8b1a8..76d92cd 100644
--- a/src/panel/DiskList.js
+++ b/src/panel/DiskList.js
@@ -35,7 +35,7 @@ Ext.define('pmx-disk-list', {
return undefined;
},
},
- 'vendor', 'model', 'serial', 'rpm', 'type', 'wearout', 'health',
+ 'vendor', 'model', 'serial', 'rpm', 'type', 'wearout', 'health', 'mounted',
],
idProperty: 'devpath',
});
@@ -302,6 +302,13 @@ Ext.define('Proxmox.DiskList', {
renderer: Ext.String.htmlEncode,
dataIndex: 'status',
},
+ {
+ header: 'Mounted',
+ width: 60,
+ align: 'right',
+ renderer: Proxmox.Utils.format_boolean,
+ dataIndex: 'mounted',
+ },
{
header: 'Wearout',
width: 90,
--
2.30.2
next prev parent reply other threads:[~2022-06-08 7:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-08 7:09 [pve-devel] [PATCH proxmox-widget-toolkit/pve-storage] replace '(mounted)' string by boolean field Hannes Laimer
2022-06-08 7:09 ` [pve-devel] [PATCH pve-storage 1/1] api2: disks: add mounted " Hannes Laimer
2022-06-15 8:24 ` [pve-devel] applied: " Wolfgang Bumiller
2022-06-08 7:10 ` Hannes Laimer [this message]
2022-06-15 8:58 ` [pve-devel] applied: [PATCH proxmox-widget-toolkit 1/1] ui: disks: add 'mounted' column Wolfgang Bumiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220608071000.3852-3-h.laimer@proxmox.com \
--to=h.laimer@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.