diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-28 17:06:24 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-28 17:06:24 +0200 |
| commit | 446eab605172aa778569914e7c43232c013d0d1a (patch) | |
| tree | d2208ff2b96e5fe3c984cde1932de183dc9f2b26 /ishtar_common/templates | |
| parent | 1a3e00d78cdb8069070c5b7e2bf5332570653fcb (diff) | |
| download | Ishtar-446eab605172aa778569914e7c43232c013d0d1a.tar.bz2 Ishtar-446eab605172aa778569914e7c43232c013d0d1a.zip | |
Imports: fix CSV file saving
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/ishtar/import_list.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/templates/ishtar/import_list.html b/ishtar_common/templates/ishtar/import_list.html index d5747fe88..c72c86d10 100644 --- a/ishtar_common/templates/ishtar/import_list.html +++ b/ishtar_common/templates/ishtar/import_list.html @@ -25,7 +25,7 @@ {{import.importer_type}} </td> <td> - <a href='{{MEDIA_URL}}{{import.imported_file}}'>{% trans "Source file" %}</a> + <a href='{{import.imported_file.url}}'>{% trans "Source file" %}</a> </td> <td> {{import.creation_date}} ({{import.user}}) @@ -47,18 +47,18 @@ {% endif %} </td> <td>{% if import.error_file %} - <a href='{{MEDIA_URL}}{{import.error_file}}'>{% trans "Error file" %}</a> + <a href='{{import.error_file.url}}'>{% trans "Error file" %}</a> {% endif %}</td> <td>{% if import.result_file %} - <a href='{{MEDIA_URL}}{{import.result_file}}'>{% trans "Control file" %}</a> + <a href='{{import.result_file.url}}'>{% trans "Control file" %}</a> {% endif %}</td> <td>{% if import.match_file %} - <a href='{{MEDIA_URL}}{{import.match_file}}'>{% trans "Match file" %}</a> + <a href='{{import.match_file.url}}'>{% trans "Match file" %}</a> {% endif %}</td> </tr> {% endfor %} </table> - <input type="submit" onclick="long_wait();return true;" value="{% trans "Validate" %}" /> + <input type="submit" onclick="long_wait();return true;" value="{% trans 'Validate' %}" /> </form> {% endif %} </div> |
