{% 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, set_account_activity_img, display_domain_cn, display_preferred_language, display_timezones, display_account_status, display_domain_backupmx, display_relay, display_sender_relayhost, display_domain_quota, display_domain_default_userquota, display_domain_max_user_quota, display_recipient_bcc, display_sender_bcc, display_disabled_account_profiles, display_disabled_domain_mail_services, display_per_account_wblist_all with context %} {% from "macros/sql.html" import display_enabled_domain_services with context %} {% from "macros/iredapd.html" import display_throttle_setting, display_greylisting_setting, display_greylisting_whitelists with context %} {% from "macros/amavisd.html" import display_spam_policy 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')), (ctx.homepath + '/mls/' + cur_domain, _('Mailing Lists')), (ctx.homepath + '/aliases/' + cur_domain, _('Aliases')), (ctx.homepath + '/admins/' + cur_domain, _('Admins')), ] %} {% if backend != "pgsql" %} {% set crumbs = crumbs + [(ctx.homepath + '/users/' + cur_domain + '/last_logins', _('Last Logins'))] %} {% endif %} {{ display_subnav(crumbs) }} {% endblock %} {# Domain profile. #} {% block main %} {% if pending_domains %}
{{ _('Mail services are disabled for domain(s): %s, please verify domain ownership first.' | format(pending_domains |join(', '), ctx.homepath)) }}