{% load i18n %} {% if stats.missing is not None and stats.missing > 0 %} {{ stats.missing }} {% translate "missing" %} {% else %} {% if stats.free is not None and stats.free > 0 %} {{ stats.free }} {% translate "open" %} {% elif stats.free is not None and stats.free == 0 %} {% translate "full" %} {% else %} {% translate "open" %} {% endif %} {% endif %}