{% extends 'bom/bom-base.html' %} {% block head-title %}{{ title }}{% endblock %} {% block bom-menu %}{% endblock %} {% block content %}
{% if notice %}
{{ notice }}
{% endif %} {% if errors %}

Fix {% if errors|length == 1 %}this problem{% else %}these {{ errors|length }} problems{% endif %} and import the file again. Nothing has been saved.

Choose another file {% else %}
{% for count in change_counts %} {{ count.number }} {{ count.label }} {% empty %} No changes {% endfor %} {% if warnings %} {{ warnings|length }} warning{{ warnings|length|pluralize }} {% endif %}
{% if preview_summary_component %}

{% include preview_summary_component %}

{% endif %} {% endif %} {% if warnings %}
{% endif %} {% if not errors %} {% if preview_component %}{% include preview_component %}{% endif %} {% if changes.created or changes.updated %} {% for row in changes.created %} {% for field_name, values in row.fields.items %} {% empty %} {% endfor %} {% endfor %} {% for row in changes.updated %} {% for field_name, values in row.fields.items %} {% endfor %} {% endfor %}
{% if kind == 'prices' %}Price{% else %}Part{% endif %} Field Change
{% if forloop.first %}{{ row.identifier }}new{% endif %} {{ field_name }} {{ values.1|default:"–" }}
{{ row.identifier }}new
{% if forloop.first %}{{ row.identifier }}{% endif %} {{ field_name }} {{ values.0|default:"–" }} → {{ values.1|default:"–" }}
{% endif %} {% if changes.unchanged %}

{{ changes.unchanged }} row{{ changes.unchanged|pluralize:" matches,s match" }} what's already in IndaBOM.

{% endif %}
{% csrf_token %} Nothing is saved until you import.
{% endif %}
{% endblock %}