{% extends "layout.html" %} {% block content %} {% if 'manager'|is_authorized %}
{{ 'admin/user'|manual }} {% if user.group != 'admin' or current_user.group == 'admin' %} {{ _('edit')|button(url_for('user_update', id_=user.id)) }} {% endif %} {% if user.id != current_user.id and (user.group != 'admin' or current_user.group == 'admin') %} {{ _('delete')|button( url_for('admin_index', action='delete_user', id_=user.id) + '#tab-user', onclick="return confirm('" + _('Delete %(name)s?', name=user.username.replace('"', '').replace("'", '')) + "')") }} {% endif %} {{ _('activity')|button(url_for('user_activity', user_id=user.id)) }}
{% endif %} {{ info|display_info }} {{ user|description }} {% endblock %}