-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conversation
3310d86
to
da3a6c3
Compare
da3a6c3
to
2534aad
Compare
@@ -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> |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" :
Ok pour toi ? @xavfernandez
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 :
Après :