Added the database usage statistics.

This commit is contained in:
Loic d'Anterroches
2009-06-19 22:42:44 +02:00
parent 6cf4f00f92
commit 0873d44162
2 changed files with 41 additions and 12 deletions

View File

@@ -8,13 +8,15 @@
{block context}
<div class="issue-submit-info">
<p><strong>{trans 'Space Usage Statistics'}</strong></p>
<ul>
<li>{trans 'Repository size:'} {$size['repositories']|size}</li>
<li>{trans 'Attachment size:'} {$size['attachments']|size}</li>
<li>{trans 'Download size:'} {$size['downloads']|size}</li>
<li>{trans 'Forge size:'} {$size['total']|size}</li>
<li>{trans 'Repositories:'} {$size['repositories']|size}</li>
<li>{trans 'Attachments:'} {$size['attachments']|size}</li>
<li>{trans 'Downloads:'} {$size['downloads']|size}</li>
<li>{trans 'Database:'} {$size['database']|size}</li>
<li><strong>{trans 'Total Forge:'} {$size['total']|size}</strong></li>
</ul>
<p>{trans 'The forge size does not include the database space yet.'}</p>
</div>
{/block}