<divclass="panel-heading">{% trans "Hosting packages" %}</div>
<divclass="panel-body">
{% if hosting_packages %}
<tableclass="table">
<thead>
<tr>
<th>{% trans "Name" %}</th>
<th>{% trans "Disk space" %}</th>
<th>{% trans "Mailboxes" %}</th>
<th>{% trans "Databases" %}</th>
<th>{% trans "Actions" %}</th>
</tr>
</thead>
<tbody>
{% for package in hosting_packages %}
<tr>
<th>{{ package.name }}</th>
<th>
{% with diskspace=package.get_disk_space %}
<spantitle="{% blocktrans %}The reserved disk space for your hosting package is {{ diskspace }} bytes.{% endblocktrans %}">{{ diskspace|filesizeformat }}</span>
{% endwith %}
</th>
<th>{% blocktrans with num=package.get_used_mailboxes total=package.get_mailboxes %}used {{ num }} of {{ total }}{% endblocktrans %}</th>
<th>{% for dbtype in package.get_databases %}
{{ dbtype.number }} {% include "userdbs/snippets/db_type.html" with db_type=dbtype.db_type %}
{% if not forloop.last %} / {% endif %}
{% endfor %}</th>
<th></th>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<pclass="text-info">{% trans "You have no hosting packages yet." %}</p>