From b01e7f7a20ebf63c055b427164d575fd11fb9d9e Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 25 Aug 2017 10:23:29 +0200 Subject: [PATCH] ceph dashboard: better format the warning detail window this adds the summary as first line, and the long warning message as monospaced text (like on the console) Signed-off-by: Dominik Csapak --- www/manager6/ceph/Status.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/manager6/ceph/Status.js b/www/manager6/ceph/Status.js index 60260ed2..cda97867 100644 --- a/www/manager6/ceph/Status.js +++ b/www/manager6/ceph/Status.js @@ -90,7 +90,10 @@ Ext.define('PVE.node.CephStatus', { scrollable: true, padding: '10', xtype: 'box', - html: record.data.detail + html: [ + '' + Ext.htmlEncode(record.data.summary) + '', + '
' + Ext.htmlEncode(record.data.detail) + '
' + ] }] }); win.show();