Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
eb75dc2e
Commit
eb75dc2e
authored
Nov 27, 2018
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display 'Problèmes de structure' even if no structure errors
parent
0df5763f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
validata_ui/templates/validation_report.html
validata_ui/templates/validation_report.html
+9
-9
No files found.
validata_ui/templates/validation_report.html
View file @
eb75dc2e
...
...
@@ -99,18 +99,18 @@
{{ macros.error_statistics(report) }}
{% if report.table.errors.structure %}
<div>
<h3>
Problèmes de structure
</h3>
{% for err in report.table.errors.structure %}
<div
class=
"alert alert-danger"
>
{{ err.message | safe}}
</div>
{% endfor %}
{% if report.table.errors.structure %}
{% for err in report.table.errors.structure %}
<div
class=
"alert alert-danger"
>
{{ err.message }}
</div>
{% endfor %}
{% else %}
<p
class=
"text"
>
Aucune erreur de structure
</p>
{% endif %}
</div>
{% else %}
<p
class=
"text"
>
Aucune erreur de structure
</p>
{% endif %}
{# We do display body errors! #}
{% if report.table.do_display_body_errors %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment