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 | e1789db27bcd6786423c62946a2a492237be7c5c (patch) | |
tree | 3895ecde365b05cfe3db09753890be8f12f2b69f /ishtar_common | |
parent | 576a4bb316e43292ff186daa6b81b02be4909e7c (diff) | |
download | Ishtar-e1789db27bcd6786423c62946a2a492237be7c5c.tar.bz2 Ishtar-e1789db27bcd6786423c62946a2a492237be7c5c.zip |
Imports - Current - Media : modifying the template #5288
Diffstat (limited to 'ishtar_common')
-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> |