{% extends "base.html" %} {% block title %}{{ t(m.title) }} — {{ t('Data Import') }}{% endblock %} {% block content %}
{{ result.created }} {{ t('to create') }}{% if result.updated %}, {{ result.updated }} {{ t('to update') }}{% endif %}{% if result.skipped %}, {{ result.skipped }} {{ t('skipped (already imported or empty)') }}{% endif %}.
{% else %}{{ t('Nothing has been saved. Correct the file (or the column matching) and check again.') }}
| {{ t('Row') }} | {{ t('Problem') }} |
|---|---|
| {{ row_no }} | {{ msg }} |
| {{ t(c) }} | {% endfor %}
|---|
| {{ '{:,.2f}'.format(v) if v is float else (v if v is not none else '') }} | {% endfor %}
| {{ t('Row') }} | {% for h in header %}{{ h }} | {% endfor %}
|---|---|
| {{ r.line }} | {% for c in r %}{{ c }} | {% endfor %}