ui: maintenance mode: also render message
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
73ce2ae1c7
commit
845baef61b
@ -658,6 +658,10 @@ Ext.define('PBS.Utils', {
|
|||||||
extra += '<i class="fa fa-check"></i>';
|
extra += '<i class="fa fa-check"></i>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (message) {
|
||||||
|
extra += ` (${message.split("=").pop()})`;
|
||||||
|
}
|
||||||
|
|
||||||
let modeText = Proxmox.Utils.unknownText;
|
let modeText = Proxmox.Utils.unknownText;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'read-only': modeText = gettext("Read-only");
|
case 'read-only': modeText = gettext("Read-only");
|
||||||
|
Loading…
Reference in New Issue
Block a user