{% extends "memberships/base.html" %}
{% load membership_tags %}
{% load base_tags %}
{% load base_filters %}
{% load i18n %}

{% block title %}Import Memberships from CSV file{% endblock %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/memberships.css">
{% endblock %}

{% block body %}

<div id="import-wrap" class="finished">

	<h1>{% trans "Membership Import Finished!" %}</h1>
	<p class="timestamp">{% trans "Step 4/4" %} &middot; {{ datetime.now }}</p>

	<p class="msg">We attempted <em>{{ stats.all }}</em> import{{ stats.all|pluralize }}; 
	<em>{{ stats.added }}</em> {{ stats.added|pluralize:"was,were" }} added,
    <em>{{ stats.updated }}</em> {{ stats.updated|pluralize:"was,were" }} updated,
	and <em>{{ stats.skipped }}</em> {{ stats.skipped|pluralize:"was,were" }} skipped.</p>

	<p class="link"><a href="{% url membership.search %}">{% trans "Back to membership search page." %}</a></p>

</div>
{% endblock %}
