update container list page

This commit is contained in:
Vyacheslav Anzhiganov 2016-01-21 01:29:48 +03:00
parent a35ab33a07
commit d677a6700c

View file

@ -45,8 +45,12 @@
{{ '%0.2f' | format(size_gb|float) }}GB
</td>
<td>
{% set memory_mb = (container.memory / 1024 / 1024) %}
{{ '%0.2f' | format(memory_mb|float) }}MB
{% if container['status'] == 1 %}
{% set memory_mb = (container.memory / 1024 / 1024) %}
{{ '%0.2f' | format(memory_mb|float) }}MB
{% else %}
0MB
{% endif %}
</td>
<td>
{% if container['status'] == 0 %}