Merge pull request #3193 from alphagov/validate-against-empty-messages

Validate CSVs against rows with empty messages
This commit is contained in:
Pea M. Tyczynska
2019-12-03 14:12:04 +00:00
committed by GitHub
7 changed files with 232 additions and 21 deletions
+2 -2
View File
@@ -25,10 +25,10 @@
{% call banner_wrapper(type='dangerous') %}
{% if row_errors|length == 1 %}
<h1 class='banner-title' data-module="track-error" data-error-type="Bad rows" data-error-label="{{ upload_id }}">
There is a problem with {{ original_file_name }}
Theres a problem with {{ original_file_name }}
</h1>
<p>
You need to {{ row_errors[0] }}
You need to {{ row_errors[0] }}.
</p>
{% else %}
<h1 class='banner-title' data-module="track-error" data-error-type="Bad rows" data-error-label="{{ upload_id }}">