Skip to content

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

Merged
dejafait merged 3 commits into
masterfrom
dejafait/hide_nir
Dec 12, 2024
Merged

Retirer l’affichage du NIR pour les orienteurs qui n’ont pas créé le compte du candidat [GEN-2254]#5234
dejafait merged 3 commits into
masterfrom
dejafait/hide_nir

Conversation

@dejafait

@dejafait dejafait commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

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 added the modifié Modifié dans le changelog. label Dec 9, 2024
@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
{% 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants