From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] fix #3589: show device name in title for SMART values window
Date: Fri, 15 Oct 2021 13:33:55 +0200 [thread overview]
Message-ID: <20211015113355.3935166-1-d.csapak@proxmox.com> (raw)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/window/DiskSmart.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/window/DiskSmart.js b/src/window/DiskSmart.js
index 6d35ea1..f11209e 100644
--- a/src/window/DiskSmart.js
+++ b/src/window/DiskSmart.js
@@ -12,7 +12,6 @@ Ext.define('Proxmox.window.DiskSmart', {
minWidth: 400,
minHeight: 300,
bodyPadding: 5,
- title: gettext('S.M.A.R.T. Values'),
items: [
{
@@ -113,6 +112,8 @@ Ext.define('Proxmox.window.DiskSmart', {
throw "no device specified";
}
+ me.title = gettext('S.M.A.R.T. Values') + ` (${dev})`;
+
me.store = Ext.create('Ext.data.Store', {
model: 'pmx-disk-smart',
proxy: {
--
2.30.2
next reply other threads:[~2021-10-15 11:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-15 11:33 Dominik Csapak [this message]
2021-10-18 7:23 ` [pve-devel] applied: " Thomas Lamprecht
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=20211015113355.3935166-1-d.csapak@proxmox.com \
--to=d.csapak@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox