datenanfragen / data

The data behind the Datenanfragen.de project. This contains a directory of contact information and privacy-related data on companies under the scope of the EU GDPR, a directory of supervisory authorities for privacy concerns, a collection of templates for GDPR requests and a list of suggested companies to send access requests to.
https://www.datarequests.org/company
Creative Commons Zero v1.0 Universal
102 stars 90 forks source link

Implement all_fields_empty flag in all request templates #238

Closed baltpeter closed 4 years ago

baltpeter commented 4 years ago

Over in datenanfragen/website#94, @ggangix helpfully implemented only adding fields with actual content to the letters.

If it turns out that the user hasn't added any fields, we also want to remove the I am including the following information necessary to identify me: line.
To do so, we are using the all_fields_empty flag. This flag needs to be added to all templates.

Essentially, this means that the templates will now have the following line instead:

[all_fields_empty>
I am including the following information necessary to identify me:
{id_data}]

…or similarly for different languages…

yonash2 commented 4 years ago

hi, picking this up

baltpeter commented 4 years ago

Great, thank you.

molnarjani commented 4 years ago

Raised a PR: https://github.com/datenanfragen/data/pull/239/commits/32a71ec34f6586505916dd15113a6d2d6bbf0347