{# @msg @profile_type @mail @maillist_profile # profile_type == 'members' @internal_members @external_members # profile_type == 'moderators' @internal_moderators @external_moderators #} {% extends "layout.html" %} {% from "macros/general.html" import display_subnav, display_input_cn, display_account_status, set_account_status_img, displayedInGlobalAddressBook, display_button_submit, with context %} {% from "macros/msgHandlers.html" import maillistMsgHandler with context %} {% block title %}{{ _('Edit account profile') }}{% endblock %} {% block navlinks_active_domains %}class="active"{% endblock %} {% set maillist = maillist_profile[0] %} {% set entries = maillist[1] %} {% set cn = entries.get('cn', [''])[0].decode('utf-8') %} {% set mail = entries.get('mail')[0] %} {% set cur_domain = mail.split('@', 1)[-1] %} {% set createTimestamp = entries.get('createTimestamp', ['--------------'])[0] %} {% set accountStatus = entries.get('accountStatus', ['disabled'])[0] %} {% set enabledService = entries.get('enabledService', ['']) %} {% block breadcrumb %} {% set crumbs = [ (ctx.homepath + '/domains', _('All domains'),), (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,), (ctx.homepath + '/maillists/' + cur_domain, _('Mail Lists'),), (None, _('Profile of mail list:') + ' ' + mail,), (ctx.homepath + '/users/' + cur_domain, _('Users'),), (ctx.homepath + '/aliases/' + cur_domain, _('Aliases'),), ] %} {{ display_subnav(crumbs) }} {% endblock %} {% block main %} {# Show system message #} {{ maillistMsgHandler(msg) }}
{{ _('Messages sent to mail list will be delivered to its members.') }}
{# -- Internal members -- #}