Skip to content

Commit

Permalink
Add the structures in GDPR email
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsuo committed Jun 24, 2022
1 parent 14ad05c commit 4e1166d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
15 changes: 8 additions & 7 deletions symfony/templates/management/volunteers/delete_email.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@

<p>
{{ 'manage_volunteers.anonymize.campaign.email.who'|trans }}
<ul>
<li>{{ 'manage_volunteers.anonymize.campaign.email.firstname'|trans({'%firstname%': volunteer.firstName}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.lastname'|trans({'%lastname%': volunteer.lastName}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.email'|trans({'%email%': volunteer.email}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.phone'|trans({'%phone%': volunteer.phoneNumber}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.nivol'|trans({'%nivol%': volunteer.nivol}) }}</li>
</ul>
<ul>
<li>{{ 'manage_volunteers.anonymize.campaign.email.firstname'|trans({'%firstname%': volunteer.firstName}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.lastname'|trans({'%lastname%': volunteer.lastName}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.email'|trans({'%email%': volunteer.email}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.phone'|trans({'%phone%': volunteer.phoneNumber}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.nivol'|trans({'%nivol%': volunteer.externalId}) }}</li>
<li>{{ 'manage_volunteers.anonymize.campaign.email.structures'|trans({'%structures%': volunteer.structures|join(', ')}) }}</li>
</ul>
</p>

{% if answer %}
Expand Down
3 changes: 2 additions & 1 deletion symfony/translations/messages.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ manage_volunteers:
target: 'This message should be forwarded to the Local Unit secretary or its president.'
title: '[GDPR] RedCall - Update GAIA for #%external-id%'
who: 'Involved person:'
structures: 'Structure(s) : %structures%'
sms_content: 'Hello, we taken your request into account. You won''t receive messages from us. Sorry for the inconvenience.'
subject: '[GDPR] Data deletion request for %external-id%'
cancel: Cancel
Expand Down Expand Up @@ -675,6 +676,7 @@ manage_volunteers:
phone_number_locked: 'Locked phone number *'
phone_number_only_outbound: 'Volunteer cannot reply using that phone number'
phone_number_optin: 'Available by phone number'
phone_number_supports_short_code: 'Volunteer can receive messages from the short code'
section_badges: 'Skills, interests and nominations'
section_contact: 'Contact information'
section_general: 'General information'
Expand All @@ -684,7 +686,6 @@ manage_volunteers:
update: 'Update volunteer'
updated: 'Volunteer has properly been updated.'
visible_badges: 'Main badges'
phone_number_supports_short_code: 'Volunteer can receive messages from the short code'
add: 'Create a new volunteer'
optout_until: 'Volunteer not available until...'
others: 'and %count% other(s)'
Expand Down
3 changes: 2 additions & 1 deletion symfony/translations/messages.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ manage_volunteers:
target: 'Ce message doit être transféré au secrétaire de l''unité locale ou au président.'
title: '[RGPD] RedCall - Mettre à jour GAIA pour #%external-id%'
who: 'La personne concernée :'
structures: 'Structure(s) : %structures%'
sms_content: 'Bonjour, nous avons pris en compte votre demande. Vous ne recevrez plus de message de notre part. Toutes nos excuses pour la gêne occasionnée.'
subject: '[RGPD] Demande de suppression de données pour %external-id%'
cancel: Annuler
Expand Down Expand Up @@ -675,6 +676,7 @@ manage_volunteers:
phone_number_locked: 'Geler le nᵒ de téléphone *'
phone_number_only_outbound: 'Le bénévole ne peut pas envoyer de réponses avec ce numéro'
phone_number_optin: 'Disponible par téléphone et SMS'
phone_number_supports_short_code: 'Le bénévole peut recevoir des messages du numéro court'
section_badges: 'Compétences & nominations'
section_contact: 'Informations de contact'
section_general: 'Informations générales'
Expand All @@ -684,7 +686,6 @@ manage_volunteers:
update: 'Mettre à jour un bénévole'
updated: 'Le bénévole a correctement été modifié.'
visible_badges: 'Badges principaux'
phone_number_supports_short_code: 'Le bénévole peut recevoir des messages du numéro court'
add: 'Créer un nouveau bénévole'
optout_until: 'Bénévole indisponible jusqu''au...'
others: 'et %count% autre(s)'
Expand Down

0 comments on commit 4e1166d

Please sign in to comment.