From 9e83c044636aee77c2f8f149ba2356674b071f8f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 15 Mar 2018 09:52:32 +0100 Subject: Step by step import - WIP - refs #3975 --- .../templates/ishtar/import_step_by_step.html | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ishtar_common/templates/ishtar/import_step_by_step.html (limited to 'ishtar_common/templates/ishtar/import_step_by_step.html') diff --git a/ishtar_common/templates/ishtar/import_step_by_step.html b/ishtar_common/templates/ishtar/import_step_by_step.html new file mode 100644 index 000000000..4d7512de1 --- /dev/null +++ b/ishtar_common/templates/ishtar/import_step_by_step.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} +{% load i18n inline_formset %} + +{% block content %} +

{% trans "Import step by step" %}

+

{{import.name}} – {% trans "line " %} {{line_number_displayed}}

+{% if errors %} + + +{% if values %} + + {% for header, value in values %} + + + + + {% endfor %} +
{{header}}{{value}}
+{% endif %} + +{% else %} + +
+ + + + + + + + {% comment %}{% endcomment %} + + {% for idx, name, raw, interpreted in values %} + + + + + + {% endfor %} +
{% trans "Column number" %}{% trans "Name" %}{% trans "Raw CSV value" %}{% trans "Current value" %}{% trans "New value" %}{% trans "Merged value" %}
{{idx}}{{name|safe}}{{raw}}{{interpreted}}
+ +
+{% endif %} +{% endblock %} + -- cgit v1.2.3