{# @users LDIF of all users @cur_domain Current domain @allDomains All domain info (domainName only) @showLoginDate Show login date or not @msg #} {% extends "layout.html" %} {% from "macros/general.html" import display_subnav, set_account_status_img, highlight_username_in_mail, nav_links_of_account_types, display_progress_bar, show_pages, with context %} {% from "macros/msgHandlers.html" import userMsgHandler with context %} {% block title %}{{ _('Mail Users') }}{% endblock %} {% block navlinks_active_domains %}class="active"{% endblock %} {% block breadcrumb %} {% set crumbs = [ (ctx.homepath + '/domains', _('All domains'),), (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,), (None, _('Users'),), (ctx.homepath + '/maillists/' + cur_domain, _('Mail Lists'),), (ctx.homepath + '/aliases/' + cur_domain, _('Aliases'),), ] %} {{ display_subnav(crumbs) }} {% endblock %} {% block main %} {# Show system message #} {{ userMsgHandler(msg) }} {% if users is defined %} {% if showLoginDate is sameas true %} {% set time_title = _('Last Signed In') %} {% set time_var = 'lastLoginDate' %} {% else %} {% set time_title = _('Created') %} {% set time_var = 'createTimestamp' %} {% endif %} {# List all users. #}