{% extends 'layout/page.html' %} {% block head_title %} {% if context.id %} {% trans %}User{% endtrans %} {{ context.id }} - {{ config.TRACKER_NAME }} {% else %} {% trans %}New User{% endtrans %} - {{ config.TRACKER_NAME }} {% endif %} {% endblock %} {% block page_header %} {% if not (context.id or context.is_edit_ok()) %} {% trans %}New User{% endtrans %} {% elif not context.id and context.is_edit_ok() %} {% trans %}New User Editing{% endtrans %} {% elif context.id and not context.is_edit_ok() %} {% trans %}User{% endtrans %} {{ context.id }} {% elif context.id and context.is_edit_ok() %} {% trans %}User{% endtrans %} {{ context.id }} {% trans %}editing{% endtrans %} {% endif %} {% endblock %} {% block content %} {% include 'layout/permission.html' %} {% if context.is_view_ok() %}
{% if context.is_edit_ok() %} {% endif %} {% if request.user.hasPermission('Web Roles') %} {% endif %} {% if context.timezone %} {% endif %} {% if context.is_edit_ok() %} {% endif %}
{% trans %}Name{% endtrans %}
{% trans %}Login Name{% endtrans %}
{% trans %}Login Password{% endtrans %}
{% trans %}Confirm Password{% endtrans %}
{% trans %}Roles
(comma separated){% endtrans %}
{% trans %}Phone{% endtrans %}
{% trans %}Organisation{% endtrans %}
{% trans %}Timezone{% endtrans %}
{% trans %}Email{% endtrans %}
{% trans %}Alternate email address
One address per line{% endtrans %}
{{ context.alternate_addresses.multiline(class="form-control")|u|safe }}
{{ context.submit(html_kwargs={ 'class': 'btn btn-success' })|u|safe }}
{% endif %} {{ context.history()|u|safe }} {% endblock %}