{%- if config.ACCOUNTS %} {%- if not current_user.is_authenticated %} {%- if config.SECURITY_REGISTERABLE and registration_enabled %}
{{ _ ("Sign up") }}
{%- endif %}
{{ _("Log in") }}
{%- else %} {%- if config.USERPROFILES %}
{{ current_user.email }}
{%- for item in current_menu.submenu('profile-admin').children if item.visible %}
{{ item.text|safe }}
{%- endfor %}
{{ _("Sign out") }}
{%- endif %} {%- endif %} {%- endif %}