{% extends "base.html" %} {% load i18n %} {% block title %}{{ block.super }} - {% blocktrans with full_name=dashboard_user.get_full_name %}Dashboard for {{ full_name }}{% endblocktrans %}{% endblock title %} {% block page_title %}{% blocktrans with full_name=dashboard_user.get_full_name %}Dashboard for {{ full_name }}{% endblocktrans %}{% endblock page_title %} {% block content %}
{% trans "Hosting packages" %}
{% if hosting_packages %} {% for package in hosting_packages %} {% endfor %}
{% trans "Name" %} {% trans "Disk space" %} {% trans "Mailboxes" %} {% trans "Databases" %} {% trans "Actions" %}
{{ package.name }} {% with diskspace=package.get_disk_space %} {{ diskspace|filesizeformat }} {% endwith %} {% blocktrans with num=package.get_used_mailboxes total=package.get_mailboxes %}used {{ num }} of {{ total }}{% endblocktrans %} {% 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 %}
{% else %}

{% if user == object %}{% trans "You have no hosting packages yet." %}{% else %}{% trans "This user has no hosting packages assigned yet." %}{% endif %}

{% endif %} {% if user.is_staff %} {% trans "Add hosting package" %} {% endif %}
{% endblock content %}