{% extends "base.html" %} {% block title %}Dashboard — Hartling Email Lists{% endblock %} {% block content %}

Dashboard

CSV fetch, cleanup & Mailchimp import

Last Fetch
{% if last_fetch %} {{ last_fetch.status }} {% else %}Never{% endif %}
{% if last_fetch %}{{ last_fetch.timestamp[:16] | replace("T", " ") }}{% endif %}
CSV Files
{{ file_count }}
{{ "{:,}".format(total_rows) }} total rows
Import Queue
{{ "{:,}".format(queue_pending) }}
pending contacts
Last Import
{% if last_import %} {{ last_import.status }} {% else %}Never{% endif %}
{% if last_import %}{{ last_import.started_at[:16] | replace("T", " ") }}{% endif %}

Quick Actions

{% if queue_pending > 0 %} Review Queue ({{ "{:,}".format(queue_pending) }}) {% endif %}
{% if last_processing %}

Last Processing Run

{{ last_processing.started_at[:16] | replace("T", " ") }}{{ last_processing.status }} — {{ last_processing.message }}

Cutoff: {{ last_processing.cutoff_date }} | Scanned: {{ "{:,}".format(last_processing.total_rows_scanned) }} | Queued: {{ "{:,}".format(last_processing.rows_after_dedup) }}

{% endif %} {% if recent_imports %}

Recent Imports

{% for imp in recent_imports %} {% endfor %}
DateStatusContactsDetails
{{ imp.started_at[:16] | replace("T", " ") }} {{ imp.status }} {{ "{:,}".format(imp.total_imported) }} {{ imp.message or "" }}
{% endif %} {% endblock %}