From 845baef61b37885ae4ae08bb332a1ab87f7a9075 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 12 Apr 2022 16:12:05 +0200 Subject: [PATCH] ui: maintenance mode: also render message Signed-off-by: Thomas Lamprecht --- www/Utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/Utils.js b/www/Utils.js index cea15693..32f56278 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -658,6 +658,10 @@ Ext.define('PBS.Utils', { extra += ''; } + if (message) { + extra += ` (${message.split("=").pop()})`; + } + let modeText = Proxmox.Utils.unknownText; switch (type) { case 'read-only': modeText = gettext("Read-only");