Skip to content

Tableau de bord : afficher au candidat le statut de son PASS IAE, même quand il n'en a pas#6179

Merged
EwenKorr merged 1 commit into
masterfrom
ewen/approval_box
May 26, 2025
Merged

Tableau de bord : afficher au candidat le statut de son PASS IAE, même quand il n'en a pas#6179
EwenKorr merged 1 commit into
masterfrom
ewen/approval_box

Conversation

@EwenKorr
Copy link
Copy Markdown
Contributor

@EwenKorr EwenKorr commented May 22, 2025

🤔 Pourquoi ?

Jusqu'à présent on n'affiche sur le tableau de bord des candidats les informations relatives à son PASS IAE uniquement s'il a un PASS.
Il serait également utile d'afficher une information lorsqu'il n'a pas de PASS, et lui suggérer de se rapprocher d'un prescripteur habilité.

💻 Captures d'écran

Avant :
image

Après :
image

@EwenKorr EwenKorr added the modifié Modifié dans le changelog. label May 22, 2025
@EwenKorr EwenKorr self-assigned this May 22, 2025
@EwenKorr EwenKorr added the modifié Modifié dans le changelog. label May 22, 2025
Comment on lines +3 to +21
<div class="col mb-3 mb-md-5">
<div class="c-box bg-warning-lightest border-warning h-100 d-flex flex-column">
<div class="mb-3 mb-md-4">
<span class="badge badge-base rounded-pill bg-warning text-white">
<i class="ri-pass-expired-line" aria-hidden="true"></i>
PASS IAE inexistant
</span>
</div>
<div class="flex-grow-1">
<p class="mb-0">
Pour obtenir un PASS IAE, vous devez avoir un diagnostic d’éligibilité à l’IAE valide et avoir une candidature acceptée dans une SIAE (Structure d’insertion par l’activité économique).
</p>
</div>
<a href="{{ itou_help_center_url }}/articles/16923064254353--Mon-PASS-IAE-Candidat" rel="noopener" target="_blank" class="btn btn-outline-primary btn-block btn-ico bg-white mt-3 has-external-link">
<i class="ri-question-line font-weight-medium" aria-hidden="true"></i>
<span>En savoir plus sur le PASS IAE</span>
</a>
</div>
</div>
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.

On aurait éventuellement pu mettre ce bout de code dans approvals/includes/box.html mais ce dernier est peut-être assez complexe comme ça ?

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 me va bien comme ça, difficile à intégrer dans box.html sauf à wrap dans un IF au plus au niveau comme ici…

@EwenKorr EwenKorr requested review from hellodeloo and leo-naeka May 22, 2025 13:26
Copy link
Copy Markdown
Contributor

@hellodeloo hellodeloo left a comment

Choose a reason for hiding this comment

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

👍

Comment on lines +3 to +21
<div class="col mb-3 mb-md-5">
<div class="c-box bg-warning-lightest border-warning h-100 d-flex flex-column">
<div class="mb-3 mb-md-4">
<span class="badge badge-base rounded-pill bg-warning text-white">
<i class="ri-pass-expired-line" aria-hidden="true"></i>
PASS IAE inexistant
</span>
</div>
<div class="flex-grow-1">
<p class="mb-0">
Pour obtenir un PASS IAE, vous devez avoir un diagnostic d’éligibilité à l’IAE valide et avoir une candidature acceptée dans une SIAE (Structure d’insertion par l’activité économique).
</p>
</div>
<a href="{{ itou_help_center_url }}/articles/16923064254353--Mon-PASS-IAE-Candidat" rel="noopener" target="_blank" class="btn btn-outline-primary btn-block btn-ico bg-white mt-3 has-external-link">
<i class="ri-question-line font-weight-medium" aria-hidden="true"></i>
<span>En savoir plus sur le PASS IAE</span>
</a>
</div>
</div>
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 me va bien comme ça, difficile à intégrer dans box.html sauf à wrap dans un IF au plus au niveau comme ici…

@EwenKorr EwenKorr added this pull request to the merge queue May 26, 2025
Merged via the queue into master with commit d23de32 May 26, 2025
18 checks passed
@EwenKorr EwenKorr deleted the ewen/approval_box branch May 26, 2025 09:58
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.

3 participants