summaryrefslogtreecommitdiff
path: root/templates/status.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/status.tpl')
-rw-r--r--templates/status.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/status.tpl b/templates/status.tpl
index 277b4b8..ff572de 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -46,7 +46,13 @@
<p>Maximum number of jobs: {{max_jobs}}.</p>
- <p>Free disk space: {{disk_free_gib}} GiB.</p>
+ <p>Free disk space:
+% if disk_free_gib:
+ {{disk_free_gib}} GiB.
+% else:
+ {{disk_free_mib}} MiB.
+% end
+ </p>
<h2>Upstream Hosts</h2>