{% extends "layout.html" %} {% from "macros/form_inputs.html" import input_submit, input_csrf_token, input_text with context %} {% from "macros/general.html" import display_subnav, set_account_status_img, display_domain_cn, display_preferred_language, display_timezones, display_account_status, display_domain_backupmx, display_domain_quota, with context %} {% from "macros/msg_handlers.html" import domain_msg_handler with context %} {% block title %}{{ _('Edit account profile') }}{% endblock %} {% block navlinks_domains %}class="active"{% endblock %} {% block breadcrumb %} {% set crumbs = [ (ctx.homepath + '/domains', _('All domains')), ('active', ctx.homepath + '/profile/domain/general/' + cur_domain, _('Profile of domain:') + ' ' + cur_domain), (ctx.homepath + '/users/' + cur_domain, _('Users')), ] %} {{ display_subnav(crumbs) }} {% endblock %} {# Domain profile. #} {% block main %} {# Show system message #} {{ domain_msg_handler(msg) }} {% set navlinks = [ ('general', _('General'), [true]), ] %}
{#-- Links --#}
    {% for nav in navlinks %} {% if not false in nav[2] and not none in nav[2] %}
  • {{ nav[1] }}
  • {% endif %} {% endfor %}

{{ _('Profile of domain:') }} {{ cur_domain }}

{# .box-header #}
{# profile_type: general #}
{{ input_csrf_token() }}
{{ display_account_status(profile.active, account_type='domain') }} {{ display_domain_cn(cn=profile.description) }}
{# .col2-3 #}
{{ input_submit() }}
{% endblock main %} {% block extra_js %} {% endblock extra_js %}