diff --git a/gnuviechadmin/templates/dashboard/user_dashboard.html b/gnuviechadmin/templates/dashboard/user_dashboard.html index baff5f7..c12627a 100644 --- a/gnuviechadmin/templates/dashboard/user_dashboard.html +++ b/gnuviechadmin/templates/dashboard/user_dashboard.html @@ -3,10 +3,46 @@ {% 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 %} -
Contract details
-{% 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 %} | ++ |
{% trans "You have no hosting packages yet." %}
+ {% endif %} +