Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
validata-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
20
Issues
20
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Validata
validata-ui
Commits
fdb64d1a
Commit
fdb64d1a
authored
Oct 01, 2018
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display error code before error message
parent
1cd04d93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
validata_ui_next/templates/validation_report.html
validata_ui_next/templates/validation_report.html
+3
-2
No files found.
validata_ui_next/templates/validation_report.html
View file @
fdb64d1a
...
...
@@ -6,6 +6,7 @@
{% block content %}
<h1>
{{ title }}
</h1>
<!-- Schema info -->
<div
class=
"card bg-faded"
style=
"width: 30rem;"
>
<div
class=
"card-body"
>
<h5
class=
"card-title"
>
...
...
@@ -39,7 +40,7 @@
<h3>
Problèmes de structure
</h3>
<ul>
{% for err in report.table.errors.structure %}
<li>
{{ err.message }}
</li>
<li>
[{{ err.code }}]
{{ err.message }}
</li>
{% endfor %}
</ul>
</div>
...
...
@@ -65,7 +66,7 @@
<th>
{{ row.row_id }}
</th>
{% for d in source_data.data_rows[row.row_id - 2] %}
{% if loop.index in row.errors %}
<td
class=
"table-danger"
data-toggle=
"tooltip"
title=
"{{ row.errors[loop.index].message }}"
>
<td
class=
"table-danger"
data-toggle=
"tooltip"
title=
"
[{{row.errors[loop.index].code}}]
{{ row.errors[loop.index].message }}"
>
{% else %}
<td>
{% endif %}
...
...
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