{% extends "_layout.html" %} {% block content %}
{{ _("Account created") }}: {{ babel_format_datetime(item.createtime) }} ({{ _('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - item.createtime)) }}) | {{ _("Last active") }}: {% if item.logintime %} {{ babel_format_datetime(item.logintime) }} ({{ _('%(delta)s ago', delta = babel_format_timedelta(current_datetime_utc - item.logintime)) }}) {% else %} {{ _("never") }} {% endif %}
{{ _("Login") }}: | {{ item.login | default(_('<< unknown >>'), True) }} |
---|---|
{{ _("Full name") }}: | {{ item.fullname | default(_('<< unknown >>'), True) }} |
{{ _("E-mail") }}: | {%- if item.email %} {{ item.email }} {%- else %} {{ _("<< unknown >>") }} {%- endif %} |
{{ _("Home organization") }}: | {{ item.organization | default(_('<< unknown >>'), True) }} |
{{ _("State") }}: | {{ macros_site.render_label_item_state(item.enabled, True) }} |
{{ _("Roles") }}: | {{ macros_site.render_labels_role_list(config['ROLES'], item, True) }} |
{{ _("API access key") }}: | {%- if item.apikey %} {%- else %} {%- endif %} |
{{ _("Preferred locale") }}: | {%- if item.locale %} {{ get_country_flag(item.locale|upper) }} {{ babel_translate_locale(item.locale, True) }} - {{ item.locale }} {%- else %} {{ get_country_flag(DEFAULT_LOCALE|upper) }} {{ babel_translate_locale(DEFAULT_LOCALE, True) }} - {{ DEFAULT_LOCALE }} ({{ _("default") }}) {%- endif %} |
{{ _("Preferred timezone") }}: | {%- if item.timezone %} {{ item.timezone }} {%- else %} {{ DEFAULT_TIMEZONE }} ({{ _("default") }}) {%- endif %} |
{{ subitem.name }} | {{ macros_page.render_menu_context_actions(subitem, context_action_menu_groups, kwargs = {'other': item}) }} |
{{ subitem.name }} | {{ macros_page.render_menu_context_actions(subitem, context_action_menu_groups, kwargs = {'other': item}) }} |
{{ subitem.name }} | {{ macros_page.render_menu_context_actions(subitem, context_action_menu_groups, kwargs = {'other': item}) }} |
{{ _('Displaying only latest %(count)s actionlogs', count = 100) }}
{%- else %} {%- call macros_site.render_alert('info', False) %} {{ _("This user does not have any actionlog records at the moment.") }} {%- endcall %} {%- endif %}{{ _('Displaying only latest %(count)s changelogs', count = 100) }}
{%- else %} {%- call macros_site.render_alert('info', False) %} {{ _("This object does not have any changelog records at the moment.") }} {%- endcall %} {%- endif %}