Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Update the Erasure Request Email Fulfillment template [#1265] (#1270)
Browse files Browse the repository at this point in the history
* Update email template for email request fulfilment.

* Formatting changes.
  • Loading branch information
pattisdr authored Sep 7, 2022
1 parent 7ee7abe commit 8d1b6ce
Showing 1 changed file with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
</head>
<body>
<main>
<p>Please locate and erase the associated records from the following collections:</p>
<p>
This is an automated email sent using Fides. A customer would like to exercise their data privacy right to be deleted.
Please locate and erase personally identifiable information for the data subject and records listed below:
</p>
{% for collection_address, action_required in dataset_collection_action_required.items() -%}
<p><b>{{ collection_address.collection }}</b></p>
{% for action in action_required.action_needed -%}
Expand All @@ -16,15 +19,21 @@
<li> Field: <i>{{ field }}</i>, Values: {{ values|join(', ') }} </li>
{%- endfor %}
</ul>
{% if action.update -%}
<p>Erase the following fields:</p>
<ul>
{% for field_name, masking_strategy in action.update.items() -%}
<li><i>{{field_name}}</i></li>
{%- endfor %}
</ul>
{%- endif %}
{%- endfor %} {%- endfor %}
{% if action.update -%}
<ul>
{% for field_name, masking_strategy in action.update.items() -%}
<li><i>{{field_name}}</i></li>
{%- endfor %}
</ul>
{% else %}
<p>
<ul>
<li><i>No erasures needed on this collection.</i></li>
</ul>
</p>
{%- endif %}
{%- endfor %} {%- endfor %}
</main>
</body>
</html>

0 comments on commit 8d1b6ce

Please sign in to comment.