diff --git a/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html b/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html index daa06b5..07728bd 100644 --- a/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html +++ b/gnuviechadmin/templates/hostingpackages/customerhostingpackage_detail.html @@ -13,22 +13,31 @@ {% block content %}
{% trans "No options booked" %}
+ {% endif %} + {% if user.is_staff %} + + {% endif %} +{% trans "Domain name" %} | +{% trans "Mail addresses" %} | +{% trans "Websites" %} | +{% trans "Actions" %} | +|
---|---|---|---|---|
{{ domain.domain }} | + {% if domain.domain.maildomain %} +{{ domain.domain.maildomain.mailaddresses|join:", " }} | + {% else %} +{% trans "None" %} | + {% endif %} ++ | + |
{% trans "There are no domains assigned to this hosting package yet." %}
+ {% endif %} + {% if user.is_staff %} + + {% endif %} +{% trans "Mailbox" %} | +{% trans "Mail addresses" %} | +{% trans "Active" %} | +{% trans "Actions" %} | +
---|---|---|---|
{{ mailbox.username }} | +{{ mailbox.mailaddresses|join:", " }} | +{% if mailbox.active %}{% trans "Active" %}{% else %}{% trans "inactive" %}{% endif %} | ++ {% trans "Set mailbox password" %} + | + {% endfor %} +
{% trans "There are no mailboxes assigned to this hosting package yet." %}
+ {% endif %} + {% if hostingpackage.may_add_mailbox %} + + {% endif %} +{% trans "Type" %} | +{% trans "Database name" %} | +{% trans "Database user" %} | +{% trans "Actions" %} | +
---|---|---|---|
{% include "userdbs/snippets/db_type.html" with db_type=database.db_user.db_type %} | +{{ database.db_name }} | +{{ database.db_user.username }} | ++ |
{% trans "There are no databases assigned to this hosting package yet." %}
+ {% endif %} + {% if hostingpackage.may_add_database %} + + {% endif %} +