{% extends "layout.html" %} {% block body %}

{{title}}

{% if new_user or ( g.user and content.name != "Guest" and g.user.role_admin() ) %}
{% endif %}
{% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %} {% if g.user and g.user.role_admin() and not new_user and not profile and ( mail_configured and content.email if content.email != None ) %} {{_('Reset user Password')}} {% endif %}
{% endif %}
{% if not content.role_anonymous() %}
{% endif %}
{% if registered_oauth.keys()| length > 0 and not new_user and profile %} {% for id, name in registered_oauth.items() %}
{% if id not in oauth_status %} {{_('Link')}} {% else %} {{_('Unlink')}} {% endif %} {% endfor %}
{% endif %} {% if kobo_support and not new_user %}
{{_('Create/View')}}
{% endif %}
{% for element in sidebar %} {% if element['config_show'] %}
{% endif %} {% endfor %}
{% if ( g.user and g.user.role_admin() and not new_user ) %} {{_('Add Allowed/Denied Tags')}} {{_('Add allowed/Denied Custom Column Values')}} {% endif %}
{% if g.user and g.user.role_admin() and not profile %} {% if not content.role_anonymous() %}
{% endif %}
{% if not content.role_anonymous() %}
{% endif %} {% endif %} {% if kobo_support and not content.role_anonymous() %}
{% endif %}
{{_('Save')}}
{% if not profile %}
{{_('Cancel')}}
{% endif %} {% if g.user and g.user.role_admin() and not profile and not new_user and not content.role_anonymous() %}
{{_('Delete User')}}
{% endif %}
{% endblock %} {% block modal %} {{ restrict_modal() }} {{ delete_confirm_modal() }} {% endblock %} {% block js %} {% endblock %}