{% load i18n %} {% load common_tags %} {# the memory a host has given its VMs: given, from views.shown_capacity #}
{{ given.memory_percent|percent }}
{{ given.assigned.all|binary_size }} / {{ given.memory|binary_size }}
{# running VMs' memory, then shut-off VMs', on a scale that holds the host's memory or all given, whichever is larger #}
{% blocktrans with running=given.assigned.running|binary_size %}{{ running }} in running VMs{% endblocktrans %}