mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 02:17:34 +00:00
format diskspace and traffic correctly in recalculate resources
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
parent
4701f41e67
commit
fa826aa87e
@ -101,15 +101,15 @@
|
||||
</span><br/>
|
||||
{{ lng('customer.diskspace') }}:
|
||||
<span class="{% if user.diskspace_used == user.diskspace_used_new %}text-success{% else %}warning{% endif %}">
|
||||
<b>{{ user.diskspace_used|formatBytes }}
|
||||
<b>{{ (user.diskspace_used * 1024)|formatBytes }}
|
||||
->
|
||||
{{ user.diskspace_used_new|formatBytes }}</b>
|
||||
{{ (user.diskspace_used_new * 1024)|formatBytes }}</b>
|
||||
</span><br/>
|
||||
{{ lng('customer.traffic') }}:
|
||||
<span class="{% if user.traffic_used == user.traffic_used_new %}text-success{% else %}warning{% endif %}">
|
||||
<b>{{ user.traffic_used|formatBytes }}
|
||||
<b>{{ (user.traffic_used * 1024)|formatBytes }}
|
||||
->
|
||||
{{ user.traffic_used_new|formatBytes }}</b>
|
||||
{{ (user.traffic_used_new * 1024)|formatBytes }}</b>
|
||||
</span>
|
||||
</td>
|
||||
<td class="px-3 w-25">
|
||||
|
Loading…
Reference in New Issue
Block a user