From df7044e23e0123558124a600e5b470ed2d537135 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 8 Aug 2023 17:56:48 +0200 Subject: ✨ Imports groups: archive_required field - automatically create related imports on group creation - adapt import list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/import_table.html | 43 ++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/import_table.html b/ishtar_common/templates/ishtar/import_table.html index aec59babc..cf33341d1 100644 --- a/ishtar_common/templates/ishtar/import_table.html +++ b/ishtar_common/templates/ishtar/import_table.html @@ -99,6 +99,49 @@ $("#import-list").find('input').prop('disabled', true); {% endif %} + {% if not import.importer_type.type_label %} {# group #} + {% for sub in import.imports.all %} + + + + {{sub.importer_type}} + + + {% if sub.imported_file %} + {% trans "Source file" %} + {% endif %} + + + {% if sub.imported_images %} + {% trans "Media file" %} + {% else %} + – + {% endif %} + + + + + {{sub.status}} + + + + + {% if sub.need_matching %} + {% trans "Match"%} + {% endif %} + + {% if sub.error_file %} + {% trans "File" context "not a directory" %} + {% endif %} + {% if sub.result_file %} + {% trans "File" context "not a directory" %} + {% endif %} + {% if sub.match_file %} + {% trans "File" context "not a directory" %} + {% endif %} + + {% endfor %} + {% endif %} {% endfor %} {% endif %} -- cgit v1.2.3