diff options
Diffstat (limited to 'ishtar_common/templates/ishtar/import_list.html')
-rw-r--r-- | ishtar_common/templates/ishtar/import_list.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/import_list.html b/ishtar_common/templates/ishtar/import_list.html index 76fc1cd72..40bc019ad 100644 --- a/ishtar_common/templates/ishtar/import_list.html +++ b/ishtar_common/templates/ishtar/import_list.html @@ -11,9 +11,10 @@ <table> <tr> <th>{% trans "Type" %}</th> - <th>{% trans "Filename" %}</th> + <th>{% trans "File" context "file" %}</th> <th>{% trans "Creation" %}</th> <th>{% trans "Status" %}</th> + <th>{% trans "Action" %}</th> </tr> {% for import in object_list %} <tr> @@ -21,7 +22,7 @@ {{import.importer_type}} </td> <td> - {{import.imported_filename}} + <a href='{{MEDIA_URL}}{{import.imported_file}}'>{% trans "Source file" %}</a> </td> <td> {{import.creation_date}} @@ -42,6 +43,9 @@ <a href='{% url "import_link_unmatched" import.importer_type.pk %}'>{% trans "Link unmatched items" %}</a> {% endif %} </td> + <td>{% if import.error_file %} + <a href='{{MEDIA_URL}}{{import.error_file}}'>{% trans "Error file" %}</a> + {% endif %}</td> </tr> {% endfor %} </table> |