1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/15689] Show statistics of storages on acp_storage

PHPBB3-15689
This commit is contained in:
Rubén Calvo
2018-06-12 09:44:53 +02:00
parent 5087d5d6b6
commit 584d03a9fe
3 changed files with 27 additions and 0 deletions

View File

@@ -6,6 +6,28 @@
<p>{{ lang('STORAGE_TITLE_EXPLAIN') }}</p>
<table class="table1 zebra-table">
<thead>
<tr>
<th>{L_STORAGE_NAME}</th>
<th>{L_STORAGE_NUM_FILES}</th>
<th>{L_STORAGE_SIZE}</th>
<th>{L_STORAGE_FREE}</th>
</tr>
</thead>
<tbody>
{% for storage in STORAGES %}
<tr>
<td>{{ lang('STORAGE_' ~ storage.get_name | upper ~ '_TITLE') }}</td>
<td>{{ storage.get_num_files }}</td>
<td>{{ storage.get_size | format_bytes }}</td>
<td>{{ storage.free_space | format_bytes }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<form id="acp_storage" method="post" action="{{ U_ACTION }}">
{% for storage in STORAGES %}