{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} {% from 'bootstrap/form.html' import render_form %} {% set active_child = 'admin_approve_registrations' %} {% block app_content %} {% include 'admin/_tabbed_nav.html' %}

{{ _('Registrations') }}

{% if registrations %}

{{ _('When registering, people are asked "%(question)s".', question=site.application_question) }}

{% for registration in registrations %} {% endfor %}
{{ _('Name') }} {{ _('Email') }} {{ _('Email verifed') }} {{ _('Answer') }} {{ _('Applied') }} {{ _('IP and country code') }} {{ _('Source') }} {{ _('Actions') }}
{{ registration.user.display_name() }} {{ registration.user.email }} {{ ''|safe if registration.user.verified else ''|safe }} {{ registration.answer }} {{ arrow.get(registration.created_at).humanize(locale=locale) }} {{ registration.user.ip_address if registration.user.ip_address }}
{{ registration.user.ip_address_country if registration.user.ip_address_country }}
{{ registration.user.referrer if registration.user.referrer }} {{ _('Approve') }} {{ _('View') }} | {{ _('Delete') }}
{% else %}

{{ _('No one is waiting to be approved.') }}

{% endif %}

{{ _('Recently approved') }}

{% if recently_approved %} {% for registration in recently_approved %} {% endfor %}
{{ _('Name') }} {{ _('Email') }} {{ _('Email verifed') }} {{ _('Answer') }} {{ _('Applied') }} {{ _('IP and country code') }} {{ _('Source') }} {{ _('Actions') }}
{{ registration.user.display_name() }} {{ registration.user.email }} {{ ''|safe if registration.user.verified else ''|safe }} {{ registration.answer }} {{ arrow.get(registration.created_at).humanize(locale=locale) }} {{ registration.user.ip_address if registration.user.ip_address }}
{{ registration.user.ip_address_country if registration.user.ip_address_country }}
{{ registration.user.referrer if registration.user.referrer }} {{ _('View') }}
{% else %}

{{ _('No one is waiting to be approved.') }}

{% endif %}

{% include 'admin/_nav.html' %}

{% endblock %}