{% extends "layout.html" %} {% block title_name %} - {{ user.username }}{% endblock %} {% block breadcrumb %} {{ [[_('admin'), 'admin_index'], [_('user'), 'user_index'], user.username]|crumb }} {% endblock %} {% block content %} {% if 'manager'|is_authorized %}
{{ 'User'|manual_link }} {% 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('user_index', action='delete', id_=user.id), onclick="return confirm('" + _('delete')|uc_first + " " + user.username.replace("'", '').replace('"', '') + "?');") }} {% endif %} {{ _('activity')|button(url_for('user_activity', user_id=user.id)) }}
{% endif %} {{ info|display_info }} {{ user|description }} {% endblock %}