ui: maintenance mode: also render message

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-12 16:12:05 +02:00
parent 73ce2ae1c7
commit 845baef61b

View File

@ -658,6 +658,10 @@ Ext.define('PBS.Utils', {
extra += '<i class="fa fa-check"></i>';
}
if (message) {
extra += ` (${message.split("=").pop()})`;
}
let modeText = Proxmox.Utils.unknownText;
switch (type) {
case 'read-only': modeText = gettext("Read-only");