diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-05-05 13:03:09 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-05-05 13:05:06 +0200 |
| commit | 3166cbb3aa53406ad693aa7f137effb51b71cb42 (patch) | |
| tree | 333db30d0b6bbb112d77c32ca1b878c8f70ee69a /ishtar_common/templates | |
| parent | ada0ab4962eb437bfbd2b300c5aca69bf5719bfb (diff) | |
| download | Ishtar-3166cbb3aa53406ad693aa7f137effb51b71cb42.tar.bz2 Ishtar-3166cbb3aa53406ad693aa7f137effb51b71cb42.zip | |
Imports: manage importation interface, error file
Diffstat (limited to 'ishtar_common/templates')
| -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> |
