1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/15689] Show unknown if can't retrieve free space

PHPBB3-15689
This commit is contained in:
Rubén Calvo
2018-07-01 19:08:20 +02:00
parent 584d03a9fe
commit 0fed1054db
2 changed files with 6 additions and 1 deletions

View File

@@ -21,7 +21,11 @@
<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>
{% if storage.free_space !== false %}
<td>{{ storage.free_space | format_bytes }}</td>
{% else %}
<td>{L_STORAGE_UNKNOWN}</td>
{% endif %}
</tr>
{% endfor %}
</tbody>