summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/templates/ishtar/import_table.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/import_table.html b/ishtar_common/templates/ishtar/import_table.html
index 334317bc8..9dc98b143 100644
--- a/ishtar_common/templates/ishtar/import_table.html
+++ b/ishtar_common/templates/ishtar/import_table.html
@@ -27,6 +27,7 @@ $("#import-list").find('input').prop('disabled', true);
<th>{% trans "Name" %}</th>
<th>{% trans "Type" %}</th>
<th>{% trans "File" context "file" %}</th>
+ <th>{% trans "Media" %}</th>
<th>{% trans "Creation" %}</th>
<th>{% trans "Status" %}</th>
<th>{% trans "Action" %}</th>
@@ -51,6 +52,13 @@ $("#import-list").find('input').prop('disabled', true);
{% endif %}
</td>
<td>
+ {% if import.imported_images %}
+ <a href="{{ import.imported_images.url }}">{% trans "Media file" %}</a>
+ {% else %}
+ <p>No media associated</p>
+ {% endif %}
+ </td>
+ <td>
{{import.creation_date}} ({{import.user}})
</td>
<td>