Commit 05f0449e authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't display disk usage if it hasn't been calculated yet

Signed-off-by: default avatarRichard Mansfield <>
parent c9a117dc
......@@ -23,7 +23,9 @@ addLoadEvent(function () {literal}{{/literal}
<p><strong>{str tag=databasesize section=admin}:</strong> {$sitedata.dbsize|display_size}</p>
{if $sitedata.diskusage}
<p><strong>{str tag=diskusage section=admin}:</strong> {$sitedata.diskusage|display_size}</p>
<p><strong>{str tag=maharaversion section=admin}:</strong> {$sitedata.release}</p>
<p><strong>{str tag=Cron section=admin}:</strong> {if $sitedata.cronrunning}{str tag=runningnormally section=admin}{else}{str tag=cronnotrunning section=admin}{/if}</p>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment