{% extends 'settings/admin_layout.html' %} {% load i18n %} {% load humanize %} {% block header %}{% trans "Invite Requests" %}{% endblock %} {% block panel %}

{% if ignored %} {% trans "Ignored Invite Requests" %} {% else %} {% trans "Invite Requests" %} {% endif %} ({{ count }})

{% include 'settings/invite_request_filters.html' %} {% url 'settings-invite-requests' as url %} {% if not requests %} {% endif %} {% for req in requests %} {% endfor %}
{% trans "Date" as text %} {% include 'snippets/table-sort-header.html' with field="created_date" sort=sort text=text %} {% trans "Email" %} {% trans "Status" as text %} {% include 'snippets/table-sort-header.html' with field="invite__times_used" sort=sort text=text %} {% trans "Action" %}
{% trans "No requests" %}
{{ req.created_date | naturaltime }} {{ req.email }} {% if req.invite.times_used %} {% trans "Accepted" %} {% elif req.invite %} {% trans "Sent" %} {% else %} {% trans "Requested" %} {% endif %}
{% csrf_token %} {% if not req.invite %} {% else %} {% endif %}
{% if req.invite and not req.invite.times_used %} {# #} {% else %}
{% csrf_token %} {% if not req.ignored %} {% else %} {% endif %}
{% endif %}
{% include 'snippets/pagination.html' with page=requests path=request.path %} {% if ignored %}

{% trans "Back to pending requests" %}

{% else %}

{% trans "View ignored requests" %}

{% endif %}
{% endblock %}