diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 61837bef..5a63fde8 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -6008,6 +6008,29 @@ } } + if (hardware.linux) { + if (hardware.linux.memory && (hardware.linux.memory.Memory_Device.length > 0)) { + var x = ''; + // Sort Memory + hardware.linux.memory.Memory_Device.sort(function(a, b) { if (a.Locator > b.Locator) return 1; if (a.Locator < b.Locator) return -1; return 0; }); + + x += '
';
+ x += ' ';
+ }
+ x += '' + EscapeHtml((m.Locator ? m.Locator : 'Unknown')) + ' ';
+ if (m.Size && m.Speed) { x += addDetailItem("Capacity / Speed", format("{0}, {1}", m.Size, m.Speed), s); }
+ else if (m.Size) { x += addDetailItem("Capacity", format("{0}", (m.Size)), s); }
+ if (m.PartNumber) { x += addDetailItem("Part Number", EscapeHtml((m.Manufacturer && m.Manufacturer != 'Undefined')?(m.Manufacturer + ', '):'') + EscapeHtml(m.PartNumber), s); }
+ x += ' |
';
+ x += ' ';
+ }
+ x += '' + EscapeHtml((m.Locator ? m.Locator : 'Unknown')) + ' ';
+ if (m.Size && m.Speed) { x += addDetailItem("Capacity / Speed", format("{0}, {1}", m.Size, m.Speed), s); }
+ else if (m.Size) { x += addDetailItem("Capacity", format("{0}", (m.Size)), s); }
+ if (m.PartNumber) { x += addDetailItem("Part Number", EscapeHtml((m.Manufacturer && m.Manufacturer != 'Undefined')?(m.Manufacturer + ', '):'') + EscapeHtml(m.PartNumber), s); }
+ x += ' |