{% extends "page.html" %} {% set edit_ok = context.is_edit_ok() %} {% block title %} {% if context.id %} User {{ context.id }}: {{ context.username }} - {{ config.TRACKER_NAME }} {% else %} New User - {{ config.TRACKER_NAME }} {% endif %} {% endblock %} {% block more_javascript %} {% endblock %} {% block body_title %} {% if not (context.id or edit_ok) %} New User {% elif not context.id and edit_ok %} New User Editing {% elif context.id and not edit_ok %} User {{ context.id }} {% else %} User {{ context.id }} Editing {% endif %} {% endblock %} {% block content %} {% if not (context.is_view_ok() or request.user.hasRole('Anonymous')) %}

You are not allowed to view this page.

{% endif %} {% if not context.is_view_ok() and request.user.hasRole('Anonymous') %}

Please login with your username and password.

{% endif %} {% if context.is_view_ok() %}
{% if edit_ok %} {% endif %} {% if request.user.hasPermission('Web Roles') %} {% endif %} {% if edit_ok or context.timezome %} {% endif %} {% set mailto = context.address %} {% if edit_ok %} {% endif %}
{% if context.id %} {% else %} {% endif %} (to give the user more than one role, enter a comma,separated,list)
{% if edit_ok %}(this is a numeric hour offset, the default is {{ db.config.DEFAULT_TIMEZONE }}){% endif %}
{% if mailto and not edit_ok %} {{ mailto }} {% elif edit_ok %} {% endif %}
{{ context.submit()|safe }}
{% if not context.id %}
Note: highlighted  fields are required.
{% endif %} {% if context.id %} {{ context.history()|safe }} {% endif %}
{% endif %} {% endblock %}