{% extends "admin/base.html" %} {% block title %}Import Inventory | Admin{% endblock %} {% block content %}

Crawler import

Import Inventory

{% if preview and preview.rows %}

Preview Listings

{{ preview.total }} of {{ preview.source_total }} source listings shown. Selected 0 of {{ preview.total }} visible listings

{% for row in preview.rows %} {% endfor %}
Import Stock Title Year Price Images Imported Source
{{ row.stock_number }} {{ row.title }} {{ row.year }} {{ format_price_for_language(row.price, settings.default_language or 'en', settings) }} {{ row.image_count }} {{ 'Yes' if row.already_imported else 'No' }} {% if row.source_url %}Open{% endif %}
{% elif preview and preview.error %}
{{ preview.error }}
{% endif %} {% if summary %}

Import Summary

{% for key, label in summary_fields %}

{{ label }}

{{ summary[key] }}

{% endfor %}
{% if summary.errors %}

Messages

{% endif %}
{% endif %} {% endblock %}