Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retirer l’affichage du NIR pour les orienteurs qui n’ont pas créé le compte du candidat [GEN-2254] #5234

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

dejafait
Copy link
Contributor

@dejafait dejafait commented Dec 9, 2024

Le lien automatique Notion/Github ne semble pas fonctionner aujourd’hui du coup voici le lien du ticket : https://www.notion.so/plateforme-inclusion/Retirer-l-affichage-du-NIR-pour-les-orienteurs-qui-n-ont-pas-cr-le-compte-du-candidat-143e8fa5c35b80be9e73d9981f9851ba

🤔 Pourquoi ?

A partir du moment où on masque le nom prénom on doit aussi masquer le NIR.

🍰 Comment ?

On masque tous les chiffres du NIR sauf le premier, pour rester en harmonie avec le masque existant du nom prénom. Le premier chiffre du NIR révèle le genre de la personne mais je suppose qu'on peut vivre avec ça.

💻 Captures d'écran

Avant :

image

Après :

image

@dejafait dejafait self-assigned this Dec 9, 2024
@dejafait dejafait marked this pull request as draft December 9, 2024 14:13
@dejafait dejafait marked this pull request as ready for review December 9, 2024 14:41
@dejafait dejafait requested a review from xavfernandez December 9, 2024 14:43
@@ -68,8 +68,10 @@ <h3 class="mb-0">Informations personnelles</h3>
<li>
<small>Numéro de sécurité sociale</small>
{% if job_seeker.jobseeker_profile.nir %}
<strong>{{ job_seeker.jobseeker_profile.nir|format_nir }}</strong>
{% include 'includes/copy_to_clipboard.html' with content=job_seeker.jobseeker_profile.nir css_classes="btn-link" only_icon=True %}
<strong>{{ job_seeker.jobseeker_profile.nir|mask_unless:can_view_personal_information|format_nir }}</strong>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A voir avec le métier mais pourquoi ne pas cacher toute la section, comme on le fait déjà pour le téléphone, l'adresse email, la date de naissance, l'adresse et l'identifiant France Travail ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah bah oui, c'est tout à fait logique ! Je n'avais pas regardé le gabarit avec assez de recul. Je fais ça.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est fait. Nouveau screenshot "après" :
image
Ok pour toi ? @xavfernandez

@dejafait dejafait added this pull request to the merge queue Dec 12, 2024
Merged via the queue into master with commit 71b060d Dec 12, 2024
11 checks passed
@dejafait dejafait deleted the dejafait/hide_nir branch December 12, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants