diff options
author | Cefin <kevon@tuta.io> | 2022-03-15 11:37:23 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 92099c88f5a9ecb8efdc42c2ec8bcfc124919e3d (patch) | |
tree | 3895ecde365b05cfe3db09753890be8f12f2b69f | |
parent | fbef0b8a40ef708dc675cb783eaf149a59739ef1 (diff) | |
download | Ishtar-92099c88f5a9ecb8efdc42c2ec8bcfc124919e3d.tar.bz2 Ishtar-92099c88f5a9ecb8efdc42c2ec8bcfc124919e3d.zip |
Imports - Current - Media : modifying the template #5288
-rw-r--r-- | ishtar_common/templates/ishtar/import_table.html | 8 |
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> |