Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alexandre Bulté
validata-ui
Commits
41db51a8
Commit
41db51a8
authored
Nov 29, 2018
by
Pierre Dittgen
Browse files
Ajout du nombre de lignes en erreurs
parent
e35acc14
Changes
1
Show whitespace changes
Inline
Side-by-side
validata_ui/templates/validation_macros.html
View file @
41db51a8
...
...
@@ -90,6 +90,22 @@ Erreurs de contenu ({{ value_errors['count'] }}) :
<li>
{{ elt[0] }} : {{ elt[1] }}
</li>
{% endfor %}
</ul>
<p>
{% if value_errors['rows-count'] == 1 %}
1 ligne en erreur
{% else %}
{{ value_errors['row-count'] }} lignes en erreur
{% endif %}
sur
{% if report.table['row-count'] == 1 %}
1 ligne
{% else %}
{{ report.table['row-count'] }} lignes
{% endif %}
au total
</p>
{% endif %}
{% endif %}
...
...
Write
Preview
Supports
Markdown
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