Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
05f0449e
Commit
05f0449e
authored
Feb 05, 2010
by
Richard Mansfield
Browse files
Don't display disk usage if it hasn't been calculated yet
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
c9a117dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/admin/stats.tpl
View file @
05f0449e
...
...
@@ -23,7 +23,9 @@ addLoadEvent(function () {literal}{{/literal}
<p>
{
$sitedata.viewsperuser
}
</p>
{/
if
}
<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>
{/
if
}
<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>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment