You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% trans "This data does not use the 360Giving Data Standard correctly" %} <small>{% blocktrans count n_errors=validation_errors_count %} {{n_errors}} Error.{% plural %}{{n_errors}} Errors {% endblocktrans %}</small>
280
+
{% trans "This data does not use the 360Giving Data Standard correctly" %} <small>{% blocktrans count n_errors=validation_and_closed_codelist_errors_count %} {{n_errors}} Error.{% plural %}{{n_errors}} Errors {% endblocktrans %}</small>
{% blocktrans %}the requirements of the <ahref="https://standard.threesixtygiving.org/en/latest/technical/reference/">360Giving Data Standard</a>.{% endblocktrans %}
306
306
{% blocktrans %} Making sure your data uses the standard correctly is important. Otherwise it cannot be used alongside other valid 360Giving data and cannot be included in 360Giving tools, such as GrantNav and 360Insights.{% endblocktrans %}
307
307
</diV>
308
-
{% if validation_errors %}
308
+
{% if validation_errors or additional_closed_codelist_values %}
309
309
<br>
310
310
<pclass="explanation"> {% trans "The following <strong>errors</strong> are preventing your data from being valid 360Giving data. Please use the feedback below to find and resolve the issues in your file" %}</p>
311
311
<br>
@@ -345,6 +345,24 @@ <h4>Incorrect Formats</h4>
345
345
{% endfor %}
346
346
{% endif %}
347
347
{% endwith %}
348
+
{% if additional_closed_codelist_values %}
349
+
<divclass="panel panel-default">
350
+
<divclass="panel-heading">
351
+
<h4>{% trans 'Codelist Errors' %}</h4>
352
+
</div>
353
+
<div>
354
+
<divclass="panel-body">
355
+
<p>Some or all of your entries do not use the 360Giving Data Standard codelists correctly.</p>
356
+
<p>{% blocktrans %}The fields below use closed codelists. When using these fields, you <strong>must</strong> use one of the pre-defined codelist values. If you use a value that is not on the relevant codelist, your data will not pass structural checks.{% endblocktrans %}</p>
357
+
</div>
358
+
</p>
359
+
{% with additional_codelist_values=additional_closed_codelist_values %}
360
+
<div>{% include "additional_codelist_values.html" %}</div>
361
+
{% endwith %}
362
+
</div>
363
+
</div>
364
+
{% endif %}
365
+
{% endif %}
348
366
{% with validation_errors=validation_errors_grouped.other error_prefix='other-' %}
0 commit comments