Merge pull request #15457 from blakadder/development

Update partition.be
This commit is contained in:
s-hadinger 2022-04-25 16:09:08 +02:00 committed by GitHub
commit 4abf27548b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -532,8 +532,8 @@ class Partition_manager_UI
webserver.content_send(string.format("<p><b>Used: </b>%i KB</p>", used / 1024)) webserver.content_send(string.format("<p><b>Used: </b>%i KB</p>", used / 1024))
webserver.content_send(string.format("<p><b>Free: </b>%i KB</p>", (slot.size - used) / 1024)) webserver.content_send(string.format("<p><b>Free: </b>%i KB</p>", (slot.size - used) / 1024))
else else
webserver.content_send("<p><b>Used</b>: unknwon</p>") webserver.content_send("<p><b>Used</b>: unknown</p>")
webserver.content_send("<p><b>Free</b>: unknwon</p>") webserver.content_send("<p><b>Free</b>: unknown</p>")
end end
if !active && used > 0 if !active && used > 0
webserver.content_send("<p><form id=setactive style='display: block;' action='/part_mgr' method='post' ") webserver.content_send("<p><form id=setactive style='display: block;' action='/part_mgr' method='post' ")