summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/import_table.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/import_table.html b/ishtar_common/templates/ishtar/import_table.html
index 099d537c2..334317bc8 100644
--- a/ishtar_common/templates/ishtar/import_table.html
+++ b/ishtar_common/templates/ishtar/import_table.html
@@ -44,7 +44,11 @@ $("#import-list").find('input').prop('disabled', true);
{{import.importer_type}}
</td>
<td>
+ {% if import.imported_file %}
<a href='{{import.imported_file.url}}'>{% trans "Source file" %}</a>
+ {% elif import.archive_file %}
+ <a href='{{import.archive_file.url}}'>{% trans "Archive" %}</a>
+ {% endif %}
</td>
<td>
{{import.creation_date}} ({{import.user}})