diff options
Diffstat (limited to 'health-storage-html.lsp')
-rw-r--r-- | health-storage-html.lsp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/health-storage-html.lsp b/health-storage-html.lsp index 7608f2f..379ad39 100644 --- a/health-storage-html.lsp +++ b/health-storage-html.lsp @@ -1,4 +1,4 @@ -<% local view, viewlibrary, page_info, session = ... %> +<% local view, viewlibrary, page_info, session = ... %> <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> @@ -47,7 +47,7 @@ else %> <% htmlviewfunctions.displaysectionend(header_level2) %> <% htmlviewfunctions.displaysectionstart(cfe({label="Harddrive capacity"}), page_info, header_level2) %> -<% if (view.value.hd) then +<% if (view.value.hd) then for name,hd in pairs(view.value.hd.value) do displaydisk(hd, name) end @@ -57,7 +57,7 @@ else %> <% htmlviewfunctions.displaysectionend(header_level2) %> <% htmlviewfunctions.displaysectionstart(cfe({label="RAM Disk capacity"}), page_info, header_level2) %> -<% if (view.value.ramdisk) then +<% if (view.value.ramdisk) then for name,ramdisk in pairs(view.value.ramdisk.value) do displaydisk(ramdisk, name) end |