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
98a2f2df
Commit
98a2f2df
authored
Oct 01, 2018
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix blank-error display
parent
7a23abac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
validata_ui_next/templates/validation_report.html
validata_ui_next/templates/validation_report.html
+8
-6
No files found.
validata_ui_next/templates/validation_report.html
View file @
98a2f2df
...
...
@@ -6,7 +6,7 @@
{% block content %}
<h1>
{{ title }}
</h1>
<!-- Schema info -->
{# Schema info #}
<div
class=
"row"
>
<div
class=
"col-md-5"
>
<div
class=
"card bg-faded"
>
...
...
@@ -41,7 +41,7 @@
{% if source_type == 'url' %}
<button
class=
"btn btn-primary"
id=
"btn-reload"
>
Relancer la validation
</button>
{% endif %}
<!-- table checks -->
{# table checks #}
{% if report.table.errors.structure %}
<div>
...
...
@@ -75,10 +75,12 @@
<th
class=
"table-danger"
data-toggle=
"tooltip"
title=
"{{ row.errors.row.message }}"
>
{{
row.row_id
}}
</th>
{% if row.errors.row.code == 'blank-row' %}
<td
colspan=
"{{ report.table.col_count }}"
class=
"table-danger"
data-toggle=
"tooltip"
title=
"{{ row.errors.row.message }}"
>
{% endif %}
{% else %}
{% if row.errors.row.code == 'blank-row' and not source_data.data_rows[row.row_id -2] %}
{% for _ in report.table.headers %}
<td
class=
"table-danger"
data-toggle=
"tooltip"
title=
"{{ row.errors.row.message }}"
></td>
{% endfor %}
{% endif %}
{% else %}
<th>
{{ row.row_id }}
</th>
{% endif %}
{% for d in source_data.data_rows[row.row_id - 2] %}
...
...
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