From 9737bc047a8f013d3556a627a7052b5aac08c692 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 21 Sep 2023 16:35:51 +0200 Subject: ⚡️ imports: prevent unecessary copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/import_table.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/import_table.html b/ishtar_common/templates/ishtar/import_table.html index c04248088..3be92d42d 100644 --- a/ishtar_common/templates/ishtar/import_table.html +++ b/ishtar_common/templates/ishtar/import_table.html @@ -78,8 +78,8 @@ {% if import.imported_file %}
  • {% trans "Source" %}
  • - {% if import.imported_images %}
  • - {% trans "Media" %} + {% if import.get_imported_images %}
  • + {% trans "Media" %}
  • {% endif %} {% elif import.archive_file %}
  • {% trans "Archive" context "name" %} @@ -133,8 +133,8 @@ {% if sub.imported_file %}
  • {% trans "Source" %}
  • {% endif %} - {% if sub.imported_images %}
  • - {% trans "Media" %} + {% if sub.get_imported_images %}
  • + {% trans "Media" %}
  • {% endif %} {% if not ARCHIVE_PAGE %}