From d19e456efbc4413fbee1d75bb96c2c0ade45fb84 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Tue, 3 Oct 2023 13:10:36 +0000 Subject: [PATCH] add bitlock to mobile view Signed-off-by: Simon Smith --- views/default-mobile.handlebars | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index e3a27a07..5ce93198 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -5840,6 +5840,21 @@ x += addDetailItem("Antivirus", y.join('
')); } + // Volumes and Bitlocker + if (node.volumes){ + var bitlocker = []; + for (var i in node.volumes) { + if (typeof node.volumes[i].protectionStatus !== 'undefined' && node.volumes[i].protectionStatus == 'On'){ + bitlocker.push(i + ' - ' + node.volumes[i].volumeStatus + ''); + }else if (typeof node.volumes[i].protectionStatus !== 'undefined'){ + bitlocker.push(i + ' - ' + node.volumes[i].volumeStatus + ''); + } + } + if(bitlocker.length > 0){ + x += addDetailItem("BitLocker", bitlocker.join('
')); + } + } + if (x != '') { sections.push({ name: "Operating System", html: x, img: 'software' }); } }