diff --git a/validata_ui_next/templates/validation_report.html b/validata_ui_next/templates/validation_report.html index 0fb3396e6322afa8cf031f37504d7118684074a2..abeecfa7874557cae62b77adedaa4026c96161c3 100644 --- a/validata_ui_next/templates/validation_report.html +++ b/validata_ui_next/templates/validation_report.html @@ -51,14 +51,20 @@

Erreurs de valeurs

+ {% set line = {'no': 0} %} + {% for err in report['tables'][0]['errors'] %} {% if err.context == 'body' %} + {% if line.no != err['row-number'] %} + {% if line.update({'no': err['row-number']}) %}{% endif %} +

Ligne {{ line.no - 1}}

+ {% endif %} +
- - - +
#
+ {% for h in report['tables'][0]['headers'] %} {% endfor %} @@ -66,7 +72,6 @@ - {% for d in source_data.data_rows[err['row-number'] - 2] %} {% if loop.index == err['column-number'] %}
{{ h }}
{{ err['row-number'] - 1 }}{{ d }}