Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
elixir
daisy
Commits
28958ed1
Commit
28958ed1
authored
Sep 16, 2021
by
Jacek Lebioda
Browse files
fix: corrections to report email
parent
f59b384d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
core/templates/report_email.html
core/templates/report_email.html
+3
-3
core/templates/report_email.txt
core/templates/report_email.txt
+7
-9
No files found.
core/templates/report_email.html
View file @
28958ed1
...
...
@@ -97,9 +97,9 @@
<td
colspan=
"2"
width=
"70%"
style=
"background-color: #fff; color: #222;"
>
<b>
Dataset: {{ dataset.title }}
</b>
<br
/>
Data
types
: {{ dataset
_
data_
types }} (TODO:)
<br
/>
Data declaration count
: {{ dataset
.
data_
declarations | length }}
<br
/>
Data locations: {{ dataset_data_locations }} (TODO:)
<br
/>
Data
declaration count
: {{ dataset
.
data_
declarations.all | length }}
<br
/>
{% comment %}Data types
: {{ dataset
_
data_
types }} (TODO:)
<br
/>
Data locations: {{ dataset_data_locations }} (TODO:)
<br
/>
{% endcomment %}
</td>
<td
width=
"5%"
style=
"background-color: #fff"
></td>
</tr>
...
...
core/templates/report_email.txt
View file @
28958ed1
...
...
@@ -2,8 +2,8 @@ DAISY report (Generated at: {% now "Y/m/j" %})
This report contains all records for which you were appointed as a local custodian,
and highlights any issues in the records (found by an automatic validation rules).
The list has been created to raise awareness of missing or incomplete records and
other necessary information required
for compliance with GDPR.
The list has been created to raise awareness of missing or incomplete records and
other necessary information required
for compliance with GDPR.
General overview:
Projects count: {{ projects | length }}
...
...
@@ -13,13 +13,11 @@ General overview:
Detailed overview:
{% for project in projects.all %}
Project: {{ project.title }} ({{ project.acronym }})
{% for dataset in project.datasets.all %}
Dataset: {{ dataset.title }}
Data types: {{ dataset_data_types }} (TODO:)
Data declaration count: {{ dataset.data_declarations | length }}
Data locations: {{ dataset_data_locations }} (TODO:)
Project {{ forloop.counter }}/{{ projects.all | length }}: {{ project.title }} ({{ project.acronym }}){% for dataset in project.datasets.all %}
Dataset {{ forloop.counter }}/{{ project.datasets.all | length }}: {{ dataset.title }}
Data declaration count: {{ dataset.data_declarations.all | length }}
{% comment %}Data types: {{ dataset_data_types }} (TODO:)
Data locations: {{ dataset_data_locations }} (TODO:){% endcomment %}
{% endfor %}
{% endfor %}
...
...
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