diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-10-19 13:32:28 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-16 16:38:32 +0200 |
commit | 89b1e4a21e80d53be0e28df8723eec36358034f9 (patch) | |
tree | 979c247c80b26c93da7e029657fae3501cbf5f9b /ishtar_common/templates | |
parent | d71382379f5c806a5b5c8cafd06d7e60564b8d4a (diff) | |
download | Ishtar-89b1e4a21e80d53be0e28df8723eec36358034f9.tar.bz2 Ishtar-89b1e4a21e80d53be0e28df8723eec36358034f9.zip |
✨ imports: manage ods, xls and xlsx
Convert them to CSV and store the resulting file in a specific field.
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/ishtar/import_table.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/import_table.html b/ishtar_common/templates/ishtar/import_table.html index be3af600b..08c949654 100644 --- a/ishtar_common/templates/ishtar/import_table.html +++ b/ishtar_common/templates/ishtar/import_table.html @@ -88,7 +88,7 @@ </select> </td> <td><ul class="simple table-import-files"> - {% if import.imported_file %}<li class="p-1"> + {% if import.get_imported_values %}<li class="p-1"> {% with file_label=source_label logo='fa fa-fw fa-file-text-o' file_type='source' file=import.imported_file %} {% include "ishtar/blocks/import_table_buttons_view.html" %} {% endwith %} @@ -164,7 +164,7 @@ <td id="status-{{sub.import_id}}">{{sub.status}}</td> <td></td> <td><ul class="simple table-import-files"> - {% if sub.imported_file %}<li class="p-1"> + {% if sub.get_imported_values %}<li class="p-1"> {% with file_label=source_label logo='fa fa-fw fa-file-text-o' file_type='source' file=sub.imported_file %} {% include "ishtar/blocks/import_table_buttons_view.html" %} {% endwith %} |