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
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
30b8a478
Commit
30b8a478
authored
Jun 14, 2019
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'Fichier traité' section
parent
f66d39d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
validata_ui/templates/validation_report.html
validata_ui/templates/validation_report.html
+5
-5
validata_ui/views.py
validata_ui/views.py
+1
-1
No files found.
validata_ui/templates/validation_report.html
View file @
30b8a478
...
...
@@ -52,12 +52,12 @@
<h5
class=
"card-title"
>
Fichier traité
</h5>
{% if source
_
type == 'file' %}
{{ source.name }}
{% if source
.
type == 'file' %}
{{ source.
file
name }}
{% endif %}
{% if source
_
type == 'url' %}
<a
href=
"{{source.
name
}}"
target=
"_blank"
>
{{source.
name
}}
{% if source
.
type == 'url' %}
<a
href=
"{{source.
url
}}"
target=
"_blank"
>
{{source.
url
}}
</a>
{% endif %}
<br
/>
...
...
validata_ui/views.py
View file @
30b8a478
...
...
@@ -373,7 +373,7 @@ def validate(schema_instance: SchemaInstance, source: ValidataResource):
schema_info
=
schema_info
,
report
=
validata_report
,
pdf_report_url
=
pdf_report_url
,
validation_date
=
report_datetime
.
strftime
(
'le %d/%m/%Y à %Hh%M'
),
source
=
source
,
source_
type
=
source
.
type
,
source_
data
=
source_data
,
source
=
source
,
source_data
=
source_data
,
schema_current_version
=
schema_instance
.
ref
,
print_mode
=
request
.
args
.
get
(
'print'
,
'false'
)
==
'true'
,
badge_url
=
badge_url
,
badge_msg
=
badge_msg
,
...
...
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