{% extends "pretixcontrol/organizers/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block inner %}

{% trans "Team:" %} {{ team.name }} {% trans "Edit" %}

{% trans "Team members" %}

{% csrf_token %} {% for u in team.members.all %} {% endfor %} {% for i in team.invites.all %} {% endfor %}
{% trans "Member" %}
{% if request.user.is_staff and staff_session %} {{ u.email }} {% else %} {{ u.email }} {% endif %} {% if u.require_2fa %} {% else %} {% endif %}
{{ i.email }}
{% bootstrap_field add_form.user layout='inline' %}
{% blocktrans trimmed %} To add a new user, you can enter their email address here. If they already have a pretix account, they will immediately be added to the event. Otherwise, they will be sent an email with an invitation. {% endblocktrans %}

{% trans "API tokens" %}

{% csrf_token %} {% for t in tokens %} {% endfor %}
{% trans "Name" %}
{% if not t.active %} {% endif %} {{ t.name }} {% if not t.active %} {% endif %} {% if t.active %} {% endif %}
{% bootstrap_field add_token_form.name layout='inline' %}

{% trans "Team history" %}

{% include "pretixcontrol/includes/logs.html" with obj=team %}
{% endblock %}